summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2021-01-06 12:59:29 +0200
committerMichael Meeks <michael.meeks@collabora.com>2021-01-15 17:41:15 +0100
commit042bb632978a1d01f3240890ea9d39ead707633d (patch)
treed09ada82fc8f395a7c2d43712dbed7bc8602a29c /sc
parent5df3c10070057c0846f195065d3716520e091421 (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 'sc')
-rw-r--r--sc/source/core/tool/chgtrack.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx
index 86be82346c47..7abcc01864ac 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -4682,7 +4682,7 @@ static void lcl_getTrackedChange(ScDocument& rDoc, int nIndex, const ScChangeAct
if (pAction->GetType() != SC_CAT_CONTENT)
return;
- auto redlinesNode = rRedlines.startNode("");
+ auto redlinesNode = rRedlines.startStruct();
rRedlines.put("index", static_cast<sal_Int64>(nIndex));
rRedlines.put("author", pAction->GetUser());
@@ -4701,7 +4701,7 @@ static void lcl_getTrackedChange(ScDocument& rDoc, int nIndex, const ScChangeAct
void ScChangeTrack::GetChangeTrackInfo(tools::JsonWriter& aRedlines)
{
- auto redlinesNode = aRedlines.startNode("redlines");
+ auto redlinesNode = aRedlines.startArray("redlines");
ScChangeAction* pAction = GetFirst();
if (pAction)