diff options
-rw-r--r-- | include/svx/itemwin.hxx | 1 | ||||
-rw-r--r-- | svx/source/tbxctrls/itemwin.cxx | 7 |
2 files changed, 8 insertions, 0 deletions
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 ) |