summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2019-11-26 15:02:48 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2019-11-28 08:35:41 +0100
commita1f1e5545dfcf73c8fcf286a9a1e14c0321e8330 (patch)
tree6b5f6c702cb3547786d93b6b17917957e4fe6bea /svx
parent601a0173497bd4995d16e1529bf8964845855df2 (diff)
jsdialogs: add generic commandName
Change-Id: Icefe02e7682cf47da0bcc5efdfc3ab1019c8abf3 Reviewed-on: https://gerrit.libreoffice.org/83772 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/xoutdev/xattr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index a3e7bbafdcb1..e083aa5ed5a4 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -1840,7 +1840,7 @@ boost::property_tree::ptree XFillStyleItem::dumpAsJSON() const
boost::property_tree::ptree aTree = SfxPoolItem::dumpAsJSON();
if (Which() == XATTR_FILLSTYLE)
- aTree.put("which", ".uno:FillStyle");
+ aTree.put("commandName", ".uno:FillStyle");
OUString sValue;
@@ -1864,7 +1864,7 @@ boost::property_tree::ptree XFillStyleItem::dumpAsJSON() const
default: break;
}
- aTree.put("data", sValue);
+ aTree.put("state", sValue);
return aTree;
}
@@ -2356,9 +2356,9 @@ boost::property_tree::ptree XFillGradientItem::dumpAsJSON() const
boost::property_tree::ptree aTree = SfxPoolItem::dumpAsJSON();
if (Which() == XATTR_FILLGRADIENT)
- aTree.put("which", ".uno:FillGradient");
+ aTree.put("commandName", ".uno:FillGradient");
- aTree.push_back(std::make_pair("data", GetGradientValue().dumpAsJSON()));
+ aTree.push_back(std::make_pair("state", GetGradientValue().dumpAsJSON()));
return aTree;
}