From 042bb632978a1d01f3240890ea9d39ead707633d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 6 Jan 2021 12:59:29 +0200 Subject: 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 --- sc/source/core/tool/chgtrack.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc') 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(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) -- cgit