diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2019-09-23 18:45:34 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2019-10-01 14:56:30 +0200 |
commit | 93d6bef4428d92c74e13a3f17b78be7026c782ba (patch) | |
tree | dfbe18619c9a43c2baeb8979ae2bcb3d973dfadb | |
parent | 554469c11cb3bafbeddf2be4f42a238437b4776d (diff) |
jsdialogs: set frame as a separate type
Change-Id: I7f56d49dbe3b403c3716798bb52691748974aaae
Reviewed-on: https://gerrit.libreoffice.org/79801
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-rw-r--r-- | include/vcl/layout.hxx | 1 | ||||
-rw-r--r-- | vcl/source/window/layout.cxx | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index cfc2b444eaef..ec40707c6306 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -409,6 +409,7 @@ public: virtual const vcl::Window *get_child() const override; vcl::Window *get_label_widget(); const vcl::Window *get_label_widget() const; + virtual boost::property_tree::ptree DumpAsPropertyTree() override; protected: virtual Size calculateRequisition() const override; virtual void setAllocation(const Size &rAllocation) override; diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index 4e92e8c2264f..294902e3aa2e 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -1635,6 +1635,13 @@ OUString VclFrame::getDefaultAccessibleName() const return VclBin::getDefaultAccessibleName(); } +boost::property_tree::ptree VclFrame::DumpAsPropertyTree() +{ + boost::property_tree::ptree aTree(VclBin::DumpAsPropertyTree()); + aTree.put("type", "frame"); + return aTree; +} + Size VclAlignment::calculateRequisition() const { Size aRet(m_nLeftPadding + m_nRightPadding, |