diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2019-09-22 17:06:38 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2019-10-01 10:22:44 +0200 |
commit | 7388db1b63fb19224f80cd7930268ec924f2c93f (patch) | |
tree | c2157ca7523bc863397f39a97ffb349dc9adf4dc /vcl/source/control | |
parent | 7362568a87256c367f79fd17de68cb447e79f265 (diff) |
jsdialogs: export more properties
Change-Id: Iaabe560867025c30c1478d4b33357231e67b0b57
Reviewed-on: https://gerrit.libreoffice.org/79799
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/button.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index b130686d82ee..5fbf156417b9 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -578,6 +578,13 @@ FactoryFunction Button::GetUITestFactory() const return ButtonUIObject::create; } +boost::property_tree::ptree Button::DumpAsPropertyTree() +{ + boost::property_tree::ptree aTree(Control::DumpAsPropertyTree()); + aTree.put("text", GetText()); + return aTree; +} + IMPL_STATIC_LINK( Button, dispatchCommandHandler, Button*, pButton, void ) { if (pButton == nullptr) |