diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-04 15:31:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-05 09:05:32 +0200 |
commit | 83c00b33594a59157ed483eb11c3c5022c978939 (patch) | |
tree | 88cdb6525b70722ac572c61ec550aee69ef1a32f /include | |
parent | b93ae66b210f98c193263c4c1cd26d896bbf8e83 (diff) |
loplugin:mergerclass merge FillAttrLB with SvxFillAttrBox
Change-Id: I5dfa7689eb219548bde7ce181a0a453c84b0f066
Reviewed-on: https://gerrit.libreoffice.org/43136
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/dlgctrl.hxx | 16 | ||||
-rw-r--r-- | include/svx/itemwin.hxx | 9 |
2 files changed, 6 insertions, 19 deletions
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index 0f2bc33f0e18..13387f123317 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -229,22 +229,6 @@ public: /************************************************************************/ -class SAL_WARN_UNUSED SVX_DLLPUBLIC FillAttrLB : public ListBox -{ -private: - BitmapEx maBitmapEx; - -public: - FillAttrLB( vcl::Window* pParent, WinBits aWB ); - - void Fill( const XHatchListRef &pList ); - void Fill( const XGradientListRef &pList ); - void Fill( const XBitmapListRef &pList ); - void Fill( const XPatternListRef &pList ); -}; - -/************************************************************************/ - class SAL_WARN_UNUSED SVX_DLLPUBLIC FillTypeLB : public ListBox { diff --git a/include/svx/itemwin.hxx b/include/svx/itemwin.hxx index d0dd8826bc3e..e82c3ca944b9 100644 --- a/include/svx/itemwin.hxx +++ b/include/svx/itemwin.hxx @@ -108,19 +108,22 @@ private: static void ReleaseFocus_Impl(); }; -// class SvxFillAttrBox -------------------------------------------------- - -class SVX_DLLPUBLIC SvxFillAttrBox : public FillAttrLB +class SVX_DLLPUBLIC SvxFillAttrBox : public ListBox { public: SvxFillAttrBox( vcl::Window* pParent ); + void Fill( const XHatchListRef &pList ); + void Fill( const XGradientListRef &pList ); + void Fill( const XBitmapListRef &pList ); + void Fill( const XPatternListRef &pList ); protected: virtual bool PreNotify( NotifyEvent& rNEvt ) override; virtual bool EventNotify( NotifyEvent& rNEvt ) override; private: sal_uInt16 nCurPos; + BitmapEx maBitmapEx; static void ReleaseFocus_Impl(); }; |