[Libreoffice-commits] core.git: sfx2/source
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jan 10 11:25:59 UTC 2021
sfx2/source/sidebar/Deck.cxx | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
New commits:
commit 78fc2ca7df9587ca33cda9be138068c1129d9690
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Dec 30 15:04:05 2020 +0100
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Sun Jan 10 12:25:11 2021 +0100
Fix json structure for decks
Change-Id: I7f203c29a03af917f50192946ee794f6e01b16e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109029
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx
index 0cd35d9e819f..ac376f571eb7 100644
--- a/sfx2/source/sidebar/Deck.cxx
+++ b/sfx2/source/sidebar/Deck.cxx
@@ -220,8 +220,13 @@ void Deck::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter)
rJsonWriter.put("text", it->GetText());
rJsonWriter.put("enabled", it->IsEnabled());
- auto children2Node = rJsonWriter.startArray("children");
- pWindow->DumpAsPropertyTree(rJsonWriter);
+ {
+ auto children2Node = rJsonWriter.startArray("children");
+ {
+ auto child2Node = rJsonWriter.startStruct();
+ pWindow->DumpAsPropertyTree(rJsonWriter);
+ }
+ }
}
}
More information about the Libreoffice-commits
mailing list