summaryrefslogtreecommitdiffstats
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 <szymon.klos@collabora.com>2019-11-28 08:34:51 +0100
commit601a0173497bd4995d16e1529bf8964845855df2 (patch)
tree71fe16fcc311d83d6bbec432e772316e68952eb7 /svl
parentjsdialogs: dumpAsJSON for FillStyle (diff)
downloadcore-601a0173497bd4995d16e1529bf8964845855df2.tar.gz
core-601a0173497bd4995d16e1529bf8964845855df2.zip
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 37d07926e2bf..7a80264d3039 100644
--- a/svl/source/items/intitem.cxx
+++ b/svl/source/items/intitem.cxx
@@ -75,6 +75,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
{