diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-06-22 16:45:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-06-25 10:16:37 +0200 |
commit | 01e37e3e5626551b6e8d261e357afcea1ba7c758 (patch) | |
tree | bbd1bd5402b07c44747d7962a9db48f9c04c1de0 /svx/source/sidebar | |
parent | e318d5d8146d18e2c76e23f2e3c39527f2af9f36 (diff) |
use tools::JsonWriter for dumping property tree
Change-Id: I8f55af19ba10b71bd621e69b27000ab7cb565309
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96677
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/sidebar')
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 4 | ||||
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index 248675f7ee1f..322e6700ad80 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -853,14 +853,14 @@ void PosSizePropertyPanel::executeSize() } } -boost::property_tree::ptree PosSizePropertyPanel::DumpAsPropertyTree() +void PosSizePropertyPanel::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter) { if (meDlgUnit != GetCurrentUnit(SfxItemState::DEFAULT, nullptr)) { mpBindings->Update( SID_ATTR_METRIC ); } - return PanelLayout::DumpAsPropertyTree(); + PanelLayout::DumpAsPropertyTree(rJsonWriter); } void PosSizePropertyPanel::MetricState( SfxItemState eState, const SfxPoolItem* pState ) diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx index 8abd1e0c86bb..a35c8a425878 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx @@ -66,7 +66,7 @@ public: const SfxItemState eState, const SfxPoolItem* pState) override; - virtual boost::property_tree::ptree DumpAsPropertyTree() override; + virtual void DumpAsPropertyTree(tools::JsonWriter&) override; SfxBindings* GetBindings() { return mpBindings;} |