diff options
author | Noel Grandin <noel@peralex.com> | 2021-01-06 12:59:29 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2021-01-15 17:41:15 +0100 |
commit | 042bb632978a1d01f3240890ea9d39ead707633d (patch) | |
tree | d09ada82fc8f395a7c2d43712dbed7bc8602a29c /desktop | |
parent | 5df3c10070057c0846f195065d3716520e091421 (diff) |
fix location of change tracking boxes in Online
Change-Id: I65fcb52e224dce7df2a5a7baed2b8f23d0d49397
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108849
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 6a88eb05701b..86cab63684f9 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -4832,12 +4832,12 @@ static char* getTrackedChanges(LibreOfficeKitDocument* pThis) // construct the tracked changes JSON from inside the sw/, not here using UNO if (doc_getDocumentType(pThis) != LOK_DOCTYPE_TEXT && xRedlinesSupplier.is()) { - auto redlinesNode = aJson.startNode("redlines"); + auto redlinesNode = aJson.startArray("redlines"); uno::Reference<container::XEnumeration> xRedlines = xRedlinesSupplier->getRedlines()->createEnumeration(); for (size_t nIndex = 0; xRedlines->hasMoreElements(); ++nIndex) { uno::Reference<beans::XPropertySet> xRedline(xRedlines->nextElement(), uno::UNO_QUERY); - auto redlineNode = aJson.startNode(""); + auto redlineNode = aJson.startStruct(); aJson.put("index", static_cast<sal_Int32>(nIndex)); OUString sAuthor; |