include/vcl/layout.hxx | 1 + vcl/source/window/layout.cxx | 7 +++++++ 2 files changed, 8 insertions(+)
New commits: commit 554469c11cb3bafbeddf2be4f42a238437b4776d Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Thu Sep 19 16:16:46 2019 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Tue Oct 1 14:37:54 2019 +0200 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.k...@collabora.com> diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index 6a2d38d77a49..cfc2b444eaef 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -90,6 +90,7 @@ public: m_bHomogeneous = bHomogeneous; } virtual bool set_property(const OString &rKey, const OUString &rValue) override; + virtual boost::property_tree::ptree DumpAsPropertyTree() override; protected: virtual sal_uInt16 getDefaultAccessibleRole() const override; void accumulateMaxes(const Size &rChildSize, Size &rSize) const; 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits