[Libreoffice-commits] core.git: Branch 'distro/collabora/co-2021' - vcl/source
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Tue Sep 28 12:55:45 UTC 2021
vcl/source/control/tabctrl.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e14febcf8f70713ad30c768cfd1d775de6c30a2d
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Sep 27 15:37:59 2021 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Tue Sep 28 14:55:09 2021 +0200
jsdialog: dump tabs as array
Change-Id: I187ea81c7b51f67aaa8d67b59aa5fcb5a4229941
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122711
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index bab7684c2f31..0918ef6028b9 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -2183,10 +2183,10 @@ void TabControl::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter)
{
Control::DumpAsPropertyTree(rJsonWriter);
{
- auto tabsNode = rJsonWriter.startNode("tabs");
+ auto tabsNode = rJsonWriter.startArray("tabs");
for(auto id : GetPageIDs())
{
- auto tabNode = rJsonWriter.startNode("");
+ auto tabNode = rJsonWriter.startStruct();
rJsonWriter.put("text", GetPageText(id));
rJsonWriter.put("id", id);
rJsonWriter.put("name", GetPageName(id));
More information about the Libreoffice-commits
mailing list