diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/chgtrack.cxx | 4 |
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) |