diff options
Diffstat (limited to 'include/svx/itemwin.hxx')
-rw-r--r-- | include/svx/itemwin.hxx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/include/svx/itemwin.hxx b/include/svx/itemwin.hxx index 19660d21a8ea..dc8b8682a98c 100644 --- a/include/svx/itemwin.hxx +++ b/include/svx/itemwin.hxx @@ -27,7 +27,7 @@ class XLineWidthItem; class SfxObjectShell; -class SvxLineBox : public ListBox +class SvxLineBox final : public ListBox { sal_uInt16 nCurPos; Timer aDelayTimer; @@ -48,7 +48,7 @@ public: void Fill(const XDashListRef &pList); -protected: +private: virtual void Select() override; virtual bool PreNotify( NotifyEvent& rNEvt ) override; virtual bool EventNotify( NotifyEvent& rNEvt ) override; @@ -84,25 +84,24 @@ public: void RefreshDlgUnit(); }; -class SVX_DLLPUBLIC SvxFillTypeBox : public FillTypeLB +class SVX_DLLPUBLIC SvxFillTypeBox final : public FillTypeLB { public: SvxFillTypeBox( vcl::Window* pParent ); void Selected() { bSelect = true; } -protected: +private: virtual bool PreNotify( NotifyEvent& rNEvt ) override; virtual bool EventNotify( NotifyEvent& rNEvt ) override; -private: sal_uInt16 nCurPos; bool bSelect; static void ReleaseFocus_Impl(); }; -class SVX_DLLPUBLIC SvxFillAttrBox : public ListBox +class SVX_DLLPUBLIC SvxFillAttrBox final : public ListBox { public: SvxFillAttrBox( vcl::Window* pParent ); @@ -111,11 +110,11 @@ public: void Fill( const XGradientListRef &pList ); void Fill( const XBitmapListRef &pList ); void Fill( const XPatternListRef &pList ); -protected: + +private: virtual bool PreNotify( NotifyEvent& rNEvt ) override; virtual bool EventNotify( NotifyEvent& rNEvt ) override; -private: sal_uInt16 nCurPos; BitmapEx maBitmapEx; |