include/svx/itemwin.hxx | 1 + svx/source/tbxctrls/itemwin.cxx | 7 +++++++ 2 files changed, 8 insertions(+)
New commits: commit 9e700aa47570ebd0abfdf9b2c7f78e4a9786d05b Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Mon Nov 18 13:39:54 2019 +0100 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Thu Nov 21 15:12:01 2019 +0100 jsdialogs: export FillStyle command to JSON Change-Id: I4115580bd3aad807c43fb8aaa20c898ad84cbab6 Reviewed-on: https://gerrit.libreoffice.org/83381 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> diff --git a/include/svx/itemwin.hxx b/include/svx/itemwin.hxx index a50126eb6440..62a479b870be 100644 --- a/include/svx/itemwin.hxx +++ b/include/svx/itemwin.hxx @@ -89,6 +89,7 @@ public: SvxFillTypeBox( vcl::Window* pParent ); void Selected() { bSelect = true; } + virtual boost::property_tree::ptree DumpAsPropertyTree() override; protected: virtual bool PreNotify( NotifyEvent& rNEvt ) override; diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx index c41ba2a86dc1..5dd5ae966506 100644 --- a/svx/source/tbxctrls/itemwin.cxx +++ b/svx/source/tbxctrls/itemwin.cxx @@ -456,6 +456,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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits