summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2019-11-26 15:03:27 +0100
committerSzymon Kłos <eszkadev@gmail.com>2020-05-13 19:52:46 +0200
commit623f6202d859403587b726ff61266d41ea166e52 (patch)
tree12c6275df2fbedaadf1c45dcc837ec9a5d58c898 /svl
parentb2d8dc41c664097811180a41df2f460d2d7aa31f (diff)
jsdialogs: send graphic items updates
Change-Id: I57d05726f80115b92e7599a7d033bf1ea8f79695 Reviewed-on: https://gerrit.libreoffice.org/83773 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/intitem.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/svl/source/items/intitem.cxx b/svl/source/items/intitem.cxx
index 1345308281fa..f4016097637f 100644
--- a/svl/source/items/intitem.cxx
+++ b/svl/source/items/intitem.cxx
@@ -58,6 +58,14 @@ bool SfxInt16Item::GetPresentation(SfxItemPresentation,
}
+boost::property_tree::ptree SfxInt16Item::dumpAsJSON() const
+{
+ boost::property_tree::ptree aTree = SfxPoolItem::dumpAsJSON();
+ aTree.put("state", GetValue());
+ return aTree;
+}
+
+
// virtual
bool SfxInt16Item::QueryValue(css::uno::Any& rVal, sal_uInt8) const
{