[Libreoffice-commits] core.git: include/vcl vcl/source

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 1 12:38:53 UTC 2019


 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.klos at collabora.com>
AuthorDate: Thu Sep 19 16:16:46 2019 +0200
Commit:     Szymon Kłos <szymon.klos at 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.klos at 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)


More information about the Libreoffice-commits mailing list