summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2019-09-19 16:16:46 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2019-10-01 14:37:54 +0200
commit554469c11cb3bafbeddf2be4f42a238437b4776d (patch)
tree7188a367ac078c31ea77c245552bb4a1531f6319 /vcl/source
parent7d1a5976b369ca8d7365ff33b0934181a9949b8a (diff)
jsdialogs: export vertical property for Boxes
Change-Id: I377638b0e9c5575e41ea3f3714541cc94f61a92b Reviewed-on: https://gerrit.libreoffice.org/79798 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/layout.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index f558e6118da2..4e92e8c2264f 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -502,6 +502,13 @@ bool VclBox::set_property(const OString &rKey, const OUString &rValue)
return true;
}
+boost::property_tree::ptree VclBox::DumpAsPropertyTree()
+{
+ boost::property_tree::ptree aTree(VclContainer::DumpAsPropertyTree());
+ aTree.put("vertical", m_bVerticalContainer);
+ return aTree;
+}
+
sal_uInt16 VclBox::getDefaultAccessibleRole() const
{
#if defined(_WIN32)