diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2019-11-21 17:47:10 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2019-11-27 20:31:07 +0100 |
commit | dcb31718a238f115f703f1088ba5220e620dec1c (patch) | |
tree | 1044a2713ca5cc3a2621f1a6f8c4f1637e17fa6f /svl/source | |
parent | e55a1dc163165cb79fc9113101d16ee8d3db7298 (diff) |
jsdialogs: dumpAsJSON for SfxItems with FillGradient example
Change-Id: I1b9303af6f52ad071074200bb630c587c8f611c1
Reviewed-on: https://gerrit.libreoffice.org/83875
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/items/poolitem.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx index ec37b68d3417..daa676a9e458 100644 --- a/svl/source/items/poolitem.cxx +++ b/svl/source/items/poolitem.cxx @@ -552,6 +552,12 @@ void SfxPoolItem::dumpAsXml(xmlTextWriterPtr pWriter) const xmlTextWriterEndElement(pWriter); } +boost::property_tree::ptree SfxPoolItem::dumpAsJSON() const +{ + boost::property_tree::ptree aTree; + return aTree; +} + std::unique_ptr<SfxPoolItem> SfxPoolItem::CloneSetWhich( sal_uInt16 nNewWhich ) const { std::unique_ptr<SfxPoolItem> pItem(Clone()); |