[Libreoffice-commits] core.git: include/svx svx/source
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Wed Nov 27 08:24:10 UTC 2019
include/svx/itemwin.hxx | 1 +
svx/source/tbxctrls/itemwin.cxx | 7 +++++++
2 files changed, 8 insertions(+)
New commits:
commit b919f246977a4a048419ba6129d411d30d37013e
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Nov 18 13:39:54 2019 +0100
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Nov 27 09:21:55 2019 +0100
jsdialogs: export FillStyle command to JSON
Change-Id: I4115580bd3aad807c43fb8aaa20c898ad84cbab6
Reviewed-on: https://gerrit.libreoffice.org/83381
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/83779
Tested-by: Jenkins
diff --git a/include/svx/itemwin.hxx b/include/svx/itemwin.hxx
index dc8b8682a98c..13a63557f147 100644
--- a/include/svx/itemwin.hxx
+++ b/include/svx/itemwin.hxx
@@ -90,6 +90,7 @@ public:
SvxFillTypeBox( vcl::Window* pParent );
void Selected() { bSelect = true; }
+ virtual boost::property_tree::ptree DumpAsPropertyTree() override;
private:
virtual bool PreNotify( NotifyEvent& rNEvt ) override;
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx
index 4d8b89b36a15..66314e592f21 100644
--- a/svx/source/tbxctrls/itemwin.cxx
+++ b/svx/source/tbxctrls/itemwin.cxx
@@ -497,6 +497,13 @@ void SvxFillTypeBox::ReleaseFocus_Impl()
}
}
+boost::property_tree::ptree SvxFillTypeBox::DumpAsPropertyTree()
+{
+ boost::property_tree::ptree aTree = FillTypeLB::DumpAsPropertyTree();
+ aTree.put("command", ".uno:FillStyle");
+ return aTree;
+}
+
SvxFillAttrBox::SvxFillAttrBox( vcl::Window* pParent ) :
ListBox(pParent, WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL | WB_TABSTOP),
nCurPos( 0 )
More information about the Libreoffice-commits
mailing list