diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-20 12:38:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-26 08:42:28 +0200 |
commit | b44cbb26efe1d0b0950b1e1613e131b506dc3876 (patch) | |
tree | 9b4d5d99e5dad0971079b997a02a6d96536709ca /include/svtools | |
parent | convert to use std random instead of boost (diff) | |
download | core-b44cbb26efe1d0b0950b1e1613e131b506dc3876.tar.gz core-b44cbb26efe1d0b0950b1e1613e131b506dc3876.zip |
new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden.
In the case of pure-virtual methods, we remove the method entirely.
Sometimes this leads to entire methods and fields being
eliminated.
Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/acceleratorexecute.hxx | 2 | ||||
-rw-r--r-- | include/svtools/accessibleruler.hxx | 16 | ||||
-rw-r--r-- | include/svtools/brwbox.hxx | 14 | ||||
-rw-r--r-- | include/svtools/calendar.hxx | 14 | ||||
-rw-r--r-- | include/svtools/colrdlg.hxx | 2 | ||||
-rw-r--r-- | include/svtools/ctrlbox.hxx | 20 | ||||
-rw-r--r-- | include/svtools/editsyntaxhighlighter.hxx | 2 | ||||
-rw-r--r-- | include/svtools/ehdl.hxx | 4 | ||||
-rw-r--r-- | include/svtools/fmtfield.hxx | 8 | ||||
-rw-r--r-- | include/svtools/grfmgr.hxx | 4 | ||||
-rw-r--r-- | include/svtools/headbar.hxx | 6 | ||||
-rw-r--r-- | include/svtools/imapobj.hxx | 2 | ||||
-rw-r--r-- | include/svtools/ivctrl.hxx | 20 | ||||
-rw-r--r-- | include/svtools/parrtf.hxx | 2 | ||||
-rw-r--r-- | include/svtools/popupmenucontrollerbase.hxx | 2 | ||||
-rw-r--r-- | include/svtools/ruler.hxx | 2 | ||||
-rw-r--r-- | include/svtools/scrwin.hxx | 6 | ||||
-rw-r--r-- | include/svtools/simptabl.hxx | 8 | ||||
-rw-r--r-- | include/svtools/svlbitm.hxx | 4 | ||||
-rw-r--r-- | include/svtools/tabbar.hxx | 2 | ||||
-rw-r--r-- | include/svtools/treelist.hxx | 4 | ||||
-rw-r--r-- | include/svtools/treelistbox.hxx | 22 | ||||
-rw-r--r-- | include/svtools/valueset.hxx | 2 |
23 files changed, 84 insertions, 84 deletions
diff --git a/include/svtools/acceleratorexecute.hxx b/include/svtools/acceleratorexecute.hxx index 20b8a22633f8..7880958f7e0e 100644 --- a/include/svtools/acceleratorexecute.hxx +++ b/include/svtools/acceleratorexecute.hxx @@ -166,7 +166,7 @@ class SVT_DLLPUBLIC AcceleratorExecute : private TMutexInit is used only. Further the global Desktop instance is used for dispatch. */ - virtual void init(const css::uno::Reference< css::uno::XComponentContext >& rxContext, + void init(const css::uno::Reference< css::uno::XComponentContext >& rxContext, const css::uno::Reference< css::frame::XFrame >& xEnv ); diff --git a/include/svtools/accessibleruler.hxx b/include/svtools/accessibleruler.hxx index 23ffc5008c73..73d97f111808 100644 --- a/include/svtools/accessibleruler.hxx +++ b/include/svtools/accessibleruler.hxx @@ -68,21 +68,21 @@ public: protected: virtual ~SvtRulerAccessible(); public: - virtual bool SAL_CALL + bool SAL_CALL isShowing() throw( ::com::sun::star::uno::RuntimeException ); - virtual bool SAL_CALL + bool SAL_CALL isVisible() throw( ::com::sun::star::uno::RuntimeException ); - virtual bool SAL_CALL + bool SAL_CALL isFocusTraversable() throw( ::com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL + void SAL_CALL addFocusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener ) throw( ::com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL + void SAL_CALL removeFocusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener ) throw( ::com::sun::star::uno::RuntimeException ); @@ -115,7 +115,7 @@ public: virtual void SAL_CALL grabFocus() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Any SAL_CALL + ::com::sun::star::uno::Any SAL_CALL getAccessibleKeyBinding() throw( ::com::sun::star::uno::RuntimeException ); virtual sal_Int32 SAL_CALL getForeground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -183,10 +183,10 @@ public: protected: /// @Return the object's current bounding box relative to the desktop. - virtual Rectangle GetBoundingBoxOnScreen( void ) throw( ::com::sun::star::uno::RuntimeException ); + Rectangle GetBoundingBoxOnScreen( void ) throw( ::com::sun::star::uno::RuntimeException ); /// @Return the object's current bounding box relative to the parent object. - virtual Rectangle GetBoundingBox( void ) throw( ::com::sun::star::uno::RuntimeException ); + Rectangle GetBoundingBox( void ) throw( ::com::sun::star::uno::RuntimeException ); virtual void SAL_CALL disposing() SAL_OVERRIDE; diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx index 5fb89b0823ba..1dd3ca44d244 100644 --- a/include/svtools/brwbox.hxx +++ b/include/svtools/brwbox.hxx @@ -362,9 +362,9 @@ protected: nRow starts at 0 */ virtual bool SeekRow( long nRow ) = 0; - virtual void DrawCursor(); - virtual void PaintRow( OutputDevice &rDev, const Rectangle &rRect ); - virtual void PaintData( vcl::Window& rWin, const Rectangle& rRect ); + void DrawCursor(); + void PaintRow( OutputDevice &rDev, const Rectangle &rRect ); + void PaintData( vcl::Window& rWin, const Rectangle& rRect ); virtual void PaintField( OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColumnId ) const = 0; // Advice for the subclass: the visible scope of rows has changed. @@ -450,9 +450,9 @@ public: // neue Handler virtual void MouseButtonDown( const BrowserMouseEvent& rEvt ); - virtual void MouseMove( const BrowserMouseEvent& rEvt ); + void MouseMove( const BrowserMouseEvent& rEvt ); virtual void MouseButtonUp( const BrowserMouseEvent& rEvt ); - virtual void StartScroll(); + void StartScroll(); virtual void EndScroll(); virtual void Select(); virtual void DoubleClick( const BrowserMouseEvent& rEvt ); @@ -460,7 +460,7 @@ public: virtual void CursorMoved(); virtual void ColumnMoved( sal_uInt16 nColId ); virtual void ColumnResized( sal_uInt16 nColId ); - virtual long QueryColumnResize( sal_uInt16 nColId, long nWidth ); + long QueryColumnResize( sal_uInt16 nColId, long nWidth ); /// called when the row height has been changed interactively virtual void RowHeightChanged(); virtual long QueryMinimumRowHeight(); @@ -498,7 +498,7 @@ public: long GetDataRowHeight() const; void SetTitleLines( sal_uInt16 nLines ); sal_uInt16 GetTitleLines() const { return nTitleLines; } - virtual long GetTitleHeight() const; + long GetTitleHeight() const; // access to dynamic values of cursor row OUString GetColumnTitle( sal_uInt16 nColumnId ) const; diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx index 3ad7b9718276..10dff86e49a8 100644 --- a/include/svtools/calendar.hxx +++ b/include/svtools/calendar.hxx @@ -274,11 +274,11 @@ public: virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; - virtual void SelectionChanging(); - virtual void DateRangeChanged(); - virtual void RequestDateInfo(); - virtual void DoubleClick(); - virtual void Select(); + void SelectionChanging(); + void DateRangeChanged(); + void RequestDateInfo(); + void DoubleClick(); + void Select(); const CalendarWrapper& GetCalendarWrapper() const { return maCalendarWrapper; } @@ -418,10 +418,10 @@ public: CalendarField( vcl::Window* pParent, WinBits nWinStyle ); virtual ~CalendarField(); - virtual void Select(); + void Select(); virtual bool ShowDropDown( bool bShow ) SAL_OVERRIDE; - virtual Calendar* CreateCalendar( vcl::Window* pParent ); + Calendar* CreateCalendar( vcl::Window* pParent ); Calendar* GetCalendar(); void SetDefaultDate( const Date& rDate ) { maDefaultDate = rDate; } diff --git a/include/svtools/colrdlg.hxx b/include/svtools/colrdlg.hxx index daee9bb1fef6..a898b08bc658 100644 --- a/include/svtools/colrdlg.hxx +++ b/include/svtools/colrdlg.hxx @@ -47,7 +47,7 @@ public: void SetMode( sal_Int16 eMode ); - virtual short Execute(); + short Execute(); private: vcl::Window* mpParent; diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx index de433f61389d..2968848cc277 100644 --- a/include/svtools/ctrlbox.hxx +++ b/include/svtools/ctrlbox.hxx @@ -163,20 +163,20 @@ public: virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE; using ListBox::InsertEntry; - virtual sal_Int32 InsertEntry( const OUString& rStr, + sal_Int32 InsertEntry( const OUString& rStr, sal_Int32 nPos = LISTBOX_APPEND ); - virtual sal_Int32 InsertEntry( const Color& rColor, const OUString& rStr, + sal_Int32 InsertEntry( const Color& rColor, const OUString& rStr, sal_Int32 nPos = LISTBOX_APPEND ); void InsertAutomaticEntryColor(const Color &rAutoColorValue); bool IsAutomaticSelected() { return !GetSelectEntryPos(); } using ListBox::RemoveEntry; - virtual void RemoveEntry( sal_Int32 nPos ); - virtual void Clear(); + void RemoveEntry( sal_Int32 nPos ); + void Clear(); void CopyEntries( const ColorListBox& rBox ); using ListBox::GetEntryPos; - virtual sal_Int32 GetEntryPos( const Color& rColor ) const; - virtual Color GetEntryColor( sal_Int32 nPos ) const; + sal_Int32 GetEntryPos( const Color& rColor ) const; + Color GetEntryColor( sal_Int32 nPos ) const; Size GetImageSize() const { return aImageSize; } void SelectEntry( const OUString& rStr, bool bSelect = true ) @@ -311,7 +311,7 @@ public: void SetNone( const OUString& sNone ); using ListBox::InsertEntry; - virtual sal_Int32 InsertEntry( const OUString& rStr, sal_Int32 nPos = LISTBOX_APPEND ); + sal_Int32 InsertEntry( const OUString& rStr, sal_Int32 nPos = LISTBOX_APPEND ); /** Insert a listbox entry with all widths in Twips. */ void InsertEntry( BorderWidthImpl aWidthImpl, sal_uInt16 nStyle, long nMinWidth = 0, @@ -320,11 +320,11 @@ public: ColorDistFunc pColorDistFn = &sameDistColor ); using ListBox::RemoveEntry; - virtual void RemoveEntry( sal_Int32 nPos ); - virtual void Clear(); + void RemoveEntry( sal_Int32 nPos ); + void Clear(); using ListBox::GetEntryPos; - virtual sal_Int32 GetEntryPos( sal_uInt16 nStyle = com::sun::star::table::BorderLineStyle::SOLID ) const; + sal_Int32 GetEntryPos( sal_uInt16 nStyle = com::sun::star::table::BorderLineStyle::SOLID ) const; sal_uInt16 GetEntryStyle( sal_Int32 nPos ) const; void SelectEntry( const OUString& rStr, bool bSelect = true ) { ListBox::SelectEntry( rStr, bSelect ); } diff --git a/include/svtools/editsyntaxhighlighter.hxx b/include/svtools/editsyntaxhighlighter.hxx index 8ec02d388281..5099750026b2 100644 --- a/include/svtools/editsyntaxhighlighter.hxx +++ b/include/svtools/editsyntaxhighlighter.hxx @@ -33,7 +33,7 @@ class SVT_DLLPUBLIC MultiLineEditSyntaxHighlight : public MultiLineEdit svtools::ColorConfig m_aColorConfig; private: - virtual void DoBracketHilight(sal_uInt16 aKey); + void DoBracketHilight(sal_uInt16 aKey); protected: virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; diff --git a/include/svtools/ehdl.hxx b/include/svtools/ehdl.hxx index 991e9e8033fd..8197e6fc3cec 100644 --- a/include/svtools/ehdl.hxx +++ b/include/svtools/ehdl.hxx @@ -54,8 +54,8 @@ public: virtual ~SfxErrorHandler(); protected: - virtual bool GetErrorString(sal_uLong lErrId, OUString &, sal_uInt16&) const; - virtual bool GetMessageString(sal_uLong lErrId, OUString &, sal_uInt16&) const; + bool GetErrorString(sal_uLong lErrId, OUString &, sal_uInt16&) const; + bool GetMessageString(sal_uLong lErrId, OUString &, sal_uInt16&) const; private: diff --git a/include/svtools/fmtfield.hxx b/include/svtools/fmtfield.hxx index 8dcc0f73108a..7400618d1a44 100644 --- a/include/svtools/fmtfield.hxx +++ b/include/svtools/fmtfield.hxx @@ -105,8 +105,8 @@ public: double GetMaxValue() const { return m_dMaxValue; } // Current value - virtual void SetValue(double dVal); - virtual double GetValue(); + void SetValue(double dVal); + double GetValue(); // The default implementation uses a formatter, if available void GetColor() const; @@ -243,12 +243,12 @@ protected: void ImplSetFormatKey(sal_uLong nFormatKey); // SetFormatKey without FormatChanged notification - virtual SvNumberFormatter* CreateFormatter() { SetFormatter(StandardFormatter()); return m_pFormatter; } + SvNumberFormatter* CreateFormatter() { SetFormatter(StandardFormatter()); return m_pFormatter; } SvNumberFormatter* ImplGetFormatter() const { return m_pFormatter ? m_pFormatter : ((FormattedField*)this)->CreateFormatter(); } bool PreNotify(NotifyEvent& rNEvt) SAL_OVERRIDE; - virtual void ReFormat(); + void ReFormat(); }; diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx index fcfa66176cdc..377f92b29f95 100644 --- a/include/svtools/grfmgr.hxx +++ b/include/svtools/grfmgr.hxx @@ -311,8 +311,8 @@ private: void SVT_DLLPRIVATE ImplAfterDataChange(); protected: - virtual void GraphicManagerDestroyed(); - virtual SvStream* GetSwapStream() const; + void GraphicManagerDestroyed(); + SvStream* GetSwapStream() const; void SetSwapState(); virtual void Load( SvStream& ) SAL_OVERRIDE; diff --git a/include/svtools/headbar.hxx b/include/svtools/headbar.hxx index af7e0f62f3a4..e9ff21b7d364 100644 --- a/include/svtools/headbar.hxx +++ b/include/svtools/headbar.hxx @@ -297,9 +297,9 @@ public: virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; - virtual void UserDraw( const UserDrawEvent& rUDEvt ); - virtual void StartDrag(); - virtual void Drag(); + void UserDraw( const UserDrawEvent& rUDEvt ); + void StartDrag(); + void Drag(); virtual void EndDrag(); virtual void Select(); virtual void DoubleClick(); diff --git a/include/svtools/imapobj.hxx b/include/svtools/imapobj.hxx index 9c0f73b91450..874614ba214a 100644 --- a/include/svtools/imapobj.hxx +++ b/include/svtools/imapobj.hxx @@ -87,7 +87,7 @@ public: bool bActive ); virtual ~IMapObject() {}; - virtual sal_uInt16 GetVersion() const; + sal_uInt16 GetVersion() const; virtual sal_uInt16 GetType() const = 0; virtual bool IsHit( const Point& rPoint ) const = 0; diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx index f23436962193..2c086637bddc 100644 --- a/include/svtools/ivctrl.hxx +++ b/include/svtools/ivctrl.hxx @@ -228,10 +228,10 @@ class SVT_DLLPUBLIC SvtIconChoiceCtrl : public Control protected: virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; - virtual bool EditedEntry( SvxIconChoiceCtrlEntry*, const OUString& rNewText, bool bCancelled ); - virtual void DocumentRectChanged(); - virtual void VisibleRectChanged(); - virtual bool EditingEntry( SvxIconChoiceCtrlEntry* pEntry ); + bool EditedEntry( SvxIconChoiceCtrlEntry*, const OUString& rNewText, bool bCancelled ); + void DocumentRectChanged(); + void VisibleRectChanged(); + bool EditingEntry( SvxIconChoiceCtrlEntry* pEntry ); virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE; virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; @@ -240,11 +240,11 @@ protected: virtual void Resize() SAL_OVERRIDE; virtual void GetFocus() SAL_OVERRIDE; virtual void LoseFocus() SAL_OVERRIDE; - virtual void ClickIcon(); + void ClickIcon(); virtual void StateChanged( StateChangedType nType ) SAL_OVERRIDE; virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE; - virtual void DrawEntryImage( + void DrawEntryImage( SvxIconChoiceCtrlEntry* pEntry, const Point& rPos, OutputDevice& rDev ); @@ -320,10 +320,10 @@ public: void SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIconChoiceCtrlEntry* pEntry = 0 ); #endif - virtual bool HasBackground() const; - virtual bool HasFont() const; - virtual bool HasFontTextColor() const; - virtual bool HasFontFillColor() const; + bool HasBackground() const; + bool HasFont() const; + bool HasFontTextColor() const; + bool HasFontFillColor() const; void SetFontColorToBackground ( bool bDo = true ) { _bAutoFontColor = bDo; } bool AutoFontColor () { return _bAutoFontColor; } diff --git a/include/svtools/parrtf.hxx b/include/svtools/parrtf.hxx index 2730d5a5b551..7a78c12591cb 100644 --- a/include/svtools/parrtf.hxx +++ b/include/svtools/parrtf.hxx @@ -55,7 +55,7 @@ protected: // scanne das naechste Token, virtual int _GetNextToken() SAL_OVERRIDE; - virtual void ReadUnknownData(); + void ReadUnknownData(); virtual void ReadBitmapData(); virtual void ReadOLEData(); diff --git a/include/svtools/popupmenucontrollerbase.hxx b/include/svtools/popupmenucontrollerbase.hxx index 168c43b79076..739969500232 100644 --- a/include/svtools/popupmenucontrollerbase.hxx +++ b/include/svtools/popupmenucontrollerbase.hxx @@ -107,7 +107,7 @@ namespace svt */ virtual void SAL_CALL disposing() SAL_OVERRIDE; - virtual void resetPopupMenu( com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu ); + void resetPopupMenu( com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu ); virtual void impl_setPopupMenu(); virtual void impl_select(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aURL); OUString determineBaseURL( const OUString& aURL ); diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx index 8667f699bd92..f165f5a91b50 100644 --- a/include/svtools/ruler.hxx +++ b/include/svtools/ruler.hxx @@ -744,7 +744,7 @@ public: virtual void Drag(); virtual void EndDrag(); virtual void Click(); - virtual void DoubleClick(); + void DoubleClick(); virtual void ExtraDown(); void Activate() SAL_OVERRIDE; diff --git a/include/svtools/scrwin.hxx b/include/svtools/scrwin.hxx index 41a6a00ca341..a3f3bf4629ed 100644 --- a/include/svtools/scrwin.hxx +++ b/include/svtools/scrwin.hxx @@ -69,12 +69,12 @@ public: virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE; virtual void DataChanged( const DataChangedEvent& rDEvt ) SAL_OVERRIDE; - virtual void StartScroll(); - virtual void EndScroll( long nDeltaX, long nDeltaY ); + void StartScroll(); + void EndScroll( long nDeltaX, long nDeltaY ); using OutputDevice::SetMapMode; virtual void SetMapMode( const MapMode& rNewMapMode ) SAL_OVERRIDE; - virtual MapMode GetMapMode() const; + MapMode GetMapMode() const; void SetTotalSize( const Size& rNewSize ); Size GetTotalSize() { return PixelToLogic( aTotPixSz ); } diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx index 006973422190..1f702147f894 100644 --- a/include/svtools/simptabl.hxx +++ b/include/svtools/simptabl.hxx @@ -77,10 +77,10 @@ protected: virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; virtual void HBarClick(); - virtual void HBarDblClick(); - virtual void HBarStartDrag(); - virtual void HBarDrag(); - virtual void HBarEndDrag(); + void HBarDblClick(); + void HBarStartDrag(); + void HBarDrag(); + void HBarEndDrag(); virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE; diff --git a/include/svtools/svlbitm.hxx b/include/svtools/svlbitm.hxx index 491f2c58730f..46e5df4d77b5 100644 --- a/include/svtools/svlbitm.hxx +++ b/include/svtools/svlbitm.hxx @@ -101,7 +101,7 @@ public: virtual sal_uInt16 GetType() const SAL_OVERRIDE; virtual void InitViewData(SvTreeListBox*, SvTreeListEntry*, SvViewDataItem*) SAL_OVERRIDE; OUString GetText() const { return maText; } - virtual OUString GetExtendText() const { return OUString(); } + OUString GetExtendText() const { return OUString(); } void SetText( const OUString& rText ) { maText = rText; } virtual void Paint( @@ -153,7 +153,7 @@ public: virtual ~SvLBoxButton(); virtual void InitViewData( SvTreeListBox*,SvTreeListEntry*,SvViewDataItem* ) SAL_OVERRIDE; virtual sal_uInt16 GetType() const SAL_OVERRIDE; - virtual bool ClickHdl(SvTreeListBox* pView, SvTreeListEntry* ); + bool ClickHdl(SvTreeListBox* pView, SvTreeListEntry* ); virtual void Paint( const Point& rPos, SvTreeListBox& rOutDev, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) SAL_OVERRIDE; virtual SvLBoxItem* Create() const SAL_OVERRIDE; diff --git a/include/svtools/tabbar.hxx b/include/svtools/tabbar.hxx index 1ecb744d5e25..e41f52e8cbb2 100644 --- a/include/svtools/tabbar.hxx +++ b/include/svtools/tabbar.hxx @@ -403,7 +403,7 @@ public: virtual void Select(); virtual void DoubleClick(); - virtual void Split(); + void Split(); virtual void ActivatePage(); virtual bool DeactivatePage(); virtual bool StartRenaming(); diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx index ae0159510d8f..e702833ead21 100644 --- a/include/svtools/treelist.hxx +++ b/include/svtools/treelist.hxx @@ -224,8 +224,8 @@ public: const Link& GetCloneLink() const { return aCloneLink; } - virtual SvTreeListEntry* CloneEntry( SvTreeListEntry* pSource ) const; // Calls the Clone Link - virtual SvTreeListEntry* CreateEntry() const; // To create Entries + SvTreeListEntry* CloneEntry( SvTreeListEntry* pSource ) const; // Calls the Clone Link + SvTreeListEntry* CreateEntry() const; // To create Entries sal_uInt16 GetRefCount() const { return nRefCount; } void SetRefCount( sal_uInt16 nRef ) { nRefCount = nRef; } diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index 9a6c24d80046..f3558583a1d7 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -285,9 +285,9 @@ protected: // Put View-specific data into the Dragserver // Is called at the SourceView (in BeginDrag Handler) - virtual void WriteDragServerInfo( const Point&, SvLBoxDDInfo* ); + void WriteDragServerInfo( const Point&, SvLBoxDDInfo* ); // Is called at the TargetView (in Drop Handler) - virtual void ReadDragServerInfo( const Point&,SvLBoxDDInfo* ); + void ReadDragServerInfo( const Point&,SvLBoxDDInfo* ); // Invalidate children on enable/disable virtual void StateChanged( StateChangedType eType ) SAL_OVERRIDE; @@ -312,7 +312,7 @@ protected: // Calls InitViewData for all Items void RecalcViewData(); // Callback of RecalcViewData - virtual void ViewDataInitialized( SvTreeListEntry* ); + void ViewDataInitialized( SvTreeListEntry* ); // Handler and methods for Drag - finished handler. This link can be set // to the TransferDataContainer. The AddBox/RemoveBox methods must be @@ -465,7 +465,7 @@ public: SvTreeListBox* GetSourceView() const; - virtual void NotifyRemoving( SvTreeListEntry* ); + void NotifyRemoving( SvTreeListEntry* ); virtual SvTreeListEntry* CloneEntry( SvTreeListEntry* pSource ); virtual SvTreeListEntry* CreateEntry() const; // To create new Entries @@ -490,16 +490,16 @@ public: ::com::sun::star::accessibility::XAccessible > CreateAccessible() SAL_OVERRIDE; /** Fills the StateSet with all states (except DEFUNC, done by the accessible object). */ - virtual void FillAccessibleStateSet( ::utl::AccessibleStateSetHelper& rStateSet ) const; + void FillAccessibleStateSet( ::utl::AccessibleStateSetHelper& rStateSet ) const; /** Fills the StateSet of one entry. */ - virtual void FillAccessibleEntryStateSet( SvTreeListEntry* pEntry, ::utl::AccessibleStateSetHelper& rStateSet ) const; + void FillAccessibleEntryStateSet( SvTreeListEntry* pEntry, ::utl::AccessibleStateSetHelper& rStateSet ) const; /** Calculate and return the bounding rectangle of an entry. @param pEntry The entry. @return The bounding rectangle of an entry. */ - virtual Rectangle GetBoundingRect( SvTreeListEntry* pEntry ); + Rectangle GetBoundingRect( SvTreeListEntry* pEntry ); /** Enables, that one cell of a tablistbox entry can be focused */ void EnableCellFocus(); @@ -561,10 +561,10 @@ protected: virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind); - virtual void NotifyBeginScroll(); + void NotifyBeginScroll(); virtual void NotifyEndScroll(); // nLines == 0 => horizontal Scrolling - virtual void NotifyScrolling( long nLines ); + void NotifyScrolling( long nLines ); virtual void NotifyScrolled(); void SetScrolledHdl( const Link& rLink ) { aScrolledHdl = rLink; } const Link& GetScrolledHdl() const { return aScrolledHdl; } @@ -572,12 +572,12 @@ protected: // Is called _before_ Areas in the Control are invalidated. // This can be used to hide Elements which are painted from outside into the Control - virtual void NotifyInvalidating(); + void NotifyInvalidating(); virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE; virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE; - virtual void CursorMoved( SvTreeListEntry* pNewCursor ); + void CursorMoved( SvTreeListEntry* pNewCursor ); virtual void PreparePaint( SvTreeListEntry* ); virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx index 28a74a7dbd73..8342b603eee6 100644 --- a/include/svtools/valueset.hxx +++ b/include/svtools/valueset.hxx @@ -303,7 +303,7 @@ public: virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; virtual void Select(); - virtual void DoubleClick(); + void DoubleClick(); virtual void UserDraw( const UserDrawEvent& rUDEvt ); void InsertItem( sal_uInt16 nItemId, const Image& rImage, |