sfx2/source/sidebar/Deck.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
New commits: commit 46b7d1d707b47e03163c5bcbbaa54ca49980f64a Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Wed Dec 30 15:04:05 2020 +0100 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Thu Apr 29 09:53:47 2021 +0200 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.k...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114803 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx index e20ef9be1794..f8bb54a8ef73 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); + } + } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits