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 /sw | |
parent | 26ad60aec69310fecd918f1c2e09056aa4782320 (diff) |
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 'sw')
53 files changed, 97 insertions, 100 deletions
diff --git a/sw/CppunitTest_sw_mailmerge.mk b/sw/CppunitTest_sw_mailmerge.mk index 47b51b6e4417..d948b892c761 100644 --- a/sw/CppunitTest_sw_mailmerge.mk +++ b/sw/CppunitTest_sw_mailmerge.mk @@ -18,6 +18,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sw_mailmerge, \ cppu \ cppuhelper \ sal \ + sfx \ sw \ test \ unotest \ diff --git a/sw/inc/SidebarWin.hxx b/sw/inc/SidebarWin.hxx index 290f8bbc42f9..0ac7a5107cc6 100644 --- a/sw/inc/SidebarWin.hxx +++ b/sw/inc/SidebarWin.hxx @@ -76,7 +76,7 @@ class SwSidebarWin : public vcl::Window const long PageBorder); void SetPosAndSize(); void TranslateTopPosition(const long aAmount); - virtual void CheckMetaText(); + void CheckMetaText(); inline Point GetAnchorPos() { return mAnchorRect.Pos(); } SwEditWin* EditWin(); @@ -92,7 +92,7 @@ class SwSidebarWin : public vcl::Window long GetPostItTextHeight(); void SwitchToPostIt(sal_uInt16 aDirection); - virtual void SwitchToFieldPos(); + void SwitchToFieldPos(); virtual sal_uInt32 MoveCaret() = 0; @@ -155,8 +155,8 @@ class SwSidebarWin : public vcl::Window void ToggleInsMode(); - virtual void ActivatePostIt(); - virtual void DeactivatePostIt(); + void ActivatePostIt(); + void DeactivatePostIt(); void SetChangeTracking( const SwPostItHelper::SwLayoutStatus aStatus, const Color& aColor); diff --git a/sw/inc/SwNumberTree.hxx b/sw/inc/SwNumberTree.hxx index f9fe9b57c299..cbfa62829a4b 100644 --- a/sw/inc/SwNumberTree.hxx +++ b/sw/inc/SwNumberTree.hxx @@ -207,7 +207,7 @@ public: @retval true pNode is first child of this node @retval false else */ - virtual bool IsFirst(const SwNumberTreeNode * pNode) const; + bool IsFirst(const SwNumberTreeNode * pNode) const; /** Return if this node if the first non-phantom node in the tree. @@ -215,7 +215,7 @@ public: @retval true this node is the first non-phantom node in the tree @retval false else */ - virtual bool IsFirst() const; + bool IsFirst() const; /** Return if this node is a phantom. diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx index fedf84454b19..e2230dc10c60 100644 --- a/sw/inc/dcontact.hxx +++ b/sw/inc/dcontact.hxx @@ -277,7 +277,7 @@ class SwDrawVirtObj : public SdrVirtObj virtual ::basegfx::B2DPolyPolygon TakeXorPoly() const SAL_OVERRIDE; virtual ::basegfx::B2DPolyPolygon TakeContour() const SAL_OVERRIDE; virtual SdrHdl* GetHdl(sal_uInt32 nHdlNum) const SAL_OVERRIDE; - virtual SdrHdl* GetPlusHdl(const SdrHdl& rHdl, sal_uInt16 nPlNum) const; + SdrHdl* GetPlusHdl(const SdrHdl& rHdl, sal_uInt16 nPlNum) const; virtual void NbcMove(const Size& rSiz) SAL_OVERRIDE; virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) SAL_OVERRIDE; virtual void NbcRotate(const Point& rRef, long nAngle, double sn, double cs) SAL_OVERRIDE; diff --git a/sw/inc/dlelstnr.hxx b/sw/inc/dlelstnr.hxx index 19c6f7aeb89e..167a61d44c76 100644 --- a/sw/inc/dlelstnr.hxx +++ b/sw/inc/dlelstnr.hxx @@ -69,7 +69,7 @@ public: virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& rEventObj ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// XDictionaryListEventListener - virtual void SAL_CALL processDictionaryListEvent( const ::com::sun::star::linguistic2::DictionaryListEvent& rDicListEvent) throw( ::com::sun::star::uno::RuntimeException ); + void SAL_CALL processDictionaryListEvent( const ::com::sun::star::linguistic2::DictionaryListEvent& rDicListEvent) throw( ::com::sun::star::uno::RuntimeException ); /// XLinguServiceEventListener virtual void SAL_CALL processLinguServiceEvent( const ::com::sun::star::linguistic2::LinguServiceEvent& rLngSvcEvent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index f2fe7abbf447..46eb057f6e9e 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -492,10 +492,10 @@ public: IDocumentSettingAccess & getIDocumentSettingAccess(); ::sw::DocumentSettingManager & GetDocumentSettingManager(); //The implementation of the interface with some additional methods ::sw::DocumentSettingManager const& GetDocumentSettingManager() const; - virtual sal_uInt32 getRsid() const; - virtual void setRsid( sal_uInt32 nVal ); - virtual sal_uInt32 getRsidRoot() const; - virtual void setRsidRoot( sal_uInt32 nVal ); + sal_uInt32 getRsid() const; + void setRsid( sal_uInt32 nVal ); + sal_uInt32 getRsidRoot() const; + void setRsidRoot( sal_uInt32 nVal ); // IDocumentDeviceAccess IDocumentDeviceAccess const & getIDocumentDeviceAccess() const; @@ -535,17 +535,17 @@ public: ::sw::DocumentContentOperationsManager const & GetDocumentContentOperationsManager() const; ::sw::DocumentContentOperationsManager & GetDocumentContentOperationsManager(); - virtual void SetModified(SwPaM &rPaM); - virtual bool UpdateParRsid( SwTxtNode *pTxtNode, sal_uInt32 nVal = 0 ); - virtual bool UpdateRsid( const SwPaM &rRg, sal_Int32 nLen ); + void SetModified(SwPaM &rPaM); + bool UpdateParRsid( SwTxtNode *pTxtNode, sal_uInt32 nVal = 0 ); + bool UpdateRsid( const SwPaM &rRg, sal_Int32 nLen ); // IDocumentStylePoolAccess IDocumentStylePoolAccess const & getIDocumentStylePoolAccess() const; IDocumentStylePoolAccess & getIDocumentStylePoolAccess(); // SwLineNumberInfo - virtual const SwLineNumberInfo& GetLineNumberInfo() const; - virtual void SetLineNumberInfo(const SwLineNumberInfo& rInfo); + const SwLineNumberInfo& GetLineNumberInfo() const; + void SetLineNumberInfo(const SwLineNumberInfo& rInfo); // IDocumentStatistics IDocumentStatistics const & getIDocumentStatistics() const; @@ -600,10 +600,10 @@ public: //End of Interfaces - virtual void setDocReadOnly( bool b) { mbReadOnly = b; } - virtual bool getDocReadOnly() const { return mbReadOnly; } - virtual void setDocAccTitle( const OUString& rTitle ) { msDocAccTitle = rTitle; } - virtual const OUString getDocAccTitle() const { return msDocAccTitle; } + void setDocReadOnly( bool b) { mbReadOnly = b; } + bool getDocReadOnly() const { return mbReadOnly; } + void setDocAccTitle( const OUString& rTitle ) { msDocAccTitle = rTitle; } + const OUString getDocAccTitle() const { return msDocAccTitle; } // INextInterface here DECL_STATIC_LINK( SwDoc, BackgroundDone, SvxBrushItem *); diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index 3b3e0bec921a..913a8c5378ea 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -293,8 +293,8 @@ public: read by the binary filter: */ virtual void UpdateLinks() SAL_OVERRIDE; - virtual void setDocAccTitle( const OUString& rTitle ); - virtual const OUString getDocAccTitle() const; + void setDocAccTitle( const OUString& rTitle ); + const OUString getDocAccTitle() const; ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > GetController(); diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx index 5a3222313d16..93525810ca4f 100644 --- a/sw/inc/expfld.hxx +++ b/sw/inc/expfld.hxx @@ -341,11 +341,11 @@ public: virtual OUString GetPar2() const SAL_OVERRIDE; virtual void SetPar2(const OUString& rStr) SAL_OVERRIDE; - virtual OUString GetHelp() const; - virtual void SetHelp(const OUString & rStr); + OUString GetHelp() const; + void SetHelp(const OUString & rStr); - virtual OUString GetToolTip() const; - virtual void SetToolTip(const OUString & rStr); + OUString GetToolTip() const; + void SetToolTip(const OUString & rStr); virtual sal_uInt16 GetSubType() const SAL_OVERRIDE; virtual void SetSubType(sal_uInt16 nSub) SAL_OVERRIDE; diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index 70bbe3f0e3bc..821323a9dd47 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -770,7 +770,7 @@ public: bool IsVerticalModeAtNdAndPos( const SwTxtNode& _rTxtNode, const Point& _rDocPos ) const; - virtual void ToggleHeaderFooterEdit( ); + void ToggleHeaderFooterEdit( ); }; void ClearFEShellTabCols(); diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx index 57780e9671e4..993abd1fca10 100644 --- a/sw/inc/fldbas.hxx +++ b/sw/inc/fldbas.hxx @@ -350,7 +350,7 @@ public: virtual OUString GetFormula() const; - virtual void ChangeFormat(sal_uInt32 n); + void ChangeFormat(sal_uInt32 n); virtual void SetPar1(const OUString& rStr); virtual void SetPar2(const OUString& rStr); diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx index 6fe3f0a76c11..c54fb05f8c13 100644 --- a/sw/inc/format.hxx +++ b/sw/inc/format.hxx @@ -330,7 +330,7 @@ public: @return false, default implementation */ - virtual bool IsShadowTransparent() const; + bool IsShadowTransparent() const; //UUUU Access to DrawingLayer FillAttributes in a preprocessed form for primitive usage virtual drawinglayer::attribute::SdrAllFillAttributesHelperPtr getSdrAllFillAttributesHelper() const; diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx index 771b727f5534..20422e6feb27 100644 --- a/sw/inc/numrule.hxx +++ b/sw/inc/numrule.hxx @@ -76,7 +76,7 @@ public: SwCharFmt* GetCharFmt() const { return const_cast<SwCharFmt*>(static_cast<const SwCharFmt*>(GetRegisteredIn())); } void SetCharFmt( SwCharFmt* ); - virtual void SetCharFmtName(const OUString& rSet); + void SetCharFmtName(const OUString& rSet); virtual OUString GetCharFmtName()const SAL_OVERRIDE; //For i120928,access the cp info of graphic within bullet diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx index 0767fb096265..2c7e45ae1052 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -45,7 +45,7 @@ public: virtual ~SwRedlineExtraData(); virtual SwRedlineExtraData* CreateNew() const = 0; - virtual void Accept( SwPaM& rPam ) const; + void Accept( SwPaM& rPam ) const; virtual void Reject( SwPaM& rPam ) const; virtual bool operator == ( const SwRedlineExtraData& ) const; }; diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx index b7b33e258f11..d992909534b0 100644 --- a/sw/inc/shellio.hxx +++ b/sw/inc/shellio.hxx @@ -420,7 +420,7 @@ public: virtual void SetupFilterOptions(SfxMedium& rMedium); - virtual void SetVersion( const OUString&, long ); + void SetVersion( const OUString&, long ); virtual bool IsStgWriter() const; void SetShowProgress( bool bFlag = false ) { bShowProgress = bFlag; } diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx index c39e67242c74..839face2af66 100644 --- a/sw/inc/swcrsr.hxx +++ b/sw/inc/swcrsr.hxx @@ -70,7 +70,7 @@ class SW_DLLPUBLIC SwCursor : public SwPaM using SwPaM::Find; protected: - virtual _SwCursor_SavePos* CreateNewSavePos() const; + _SwCursor_SavePos* CreateNewSavePos() const; void SaveState(); void RestoreState(); @@ -189,7 +189,7 @@ public: ( nsSwCursorSelOverFlags::SELOVER_CHECKNODESSECTION | nsSwCursorSelOverFlags::SELOVER_TOGGLE | nsSwCursorSelOverFlags::SELOVER_CHANGEPOS )); - virtual bool IsInProtectTable( bool bMove = false, + bool IsInProtectTable( bool bMove = false, bool bChgCrsr = true ); bool IsNoCntnt() const; diff --git a/sw/inc/swserv.hxx b/sw/inc/swserv.hxx index f483342ade5d..9cc34ad1038c 100644 --- a/sw/inc/swserv.hxx +++ b/sw/inc/swserv.hxx @@ -67,8 +67,8 @@ public: bool SetData( const OUString & rMimeType, const ::com::sun::star::uno::Any& rData ); - virtual void SendDataChanged( const SwPosition& rPos ); - virtual void SendDataChanged( const SwPaM& rRange ); + void SendDataChanged( const SwPosition& rPos ); + void SendDataChanged( const SwPaM& rRange ); bool IsLinkInServer( const SwBaseLink* ) const; diff --git a/sw/inc/txatbase.hxx b/sw/inc/txatbase.hxx index 8ac157297abc..f62ab1e9fa51 100644 --- a/sw/inc/txatbase.hxx +++ b/sw/inc/txatbase.hxx @@ -106,7 +106,7 @@ public: inline SfxPoolItem& GetAttr(); inline sal_uInt16 Which() const { return GetAttr().Which(); } - virtual bool operator==( const SwTxtAttr& ) const; + bool operator==( const SwTxtAttr& ) const; inline const SwFmtCharFmt &GetCharFmt() const; inline const SwFmtAutoFmt &GetAutoFmt() const; diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx index f2685ff35f0d..a27ce713d389 100644 --- a/sw/inc/undobj.hxx +++ b/sw/inc/undobj.hxx @@ -77,7 +77,7 @@ protected: // the 4 methods that derived classes have to override // base implementation does nothing virtual void RepeatImpl( ::sw::RepeatContext & ); - virtual bool CanRepeatImpl( ::sw::RepeatContext & ) const; + bool CanRepeatImpl( ::sw::RepeatContext & ) const; public: // should not be public, but ran into trouble in untbl.cxx virtual void UndoImpl( ::sw::UndoRedoContext & ) = 0; virtual void RedoImpl( ::sw::UndoRedoContext & ) = 0; diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx index 0d9565c249ae..d4183af7c1a6 100644 --- a/sw/inc/viscrs.hxx +++ b/sw/inc/viscrs.hxx @@ -71,7 +71,7 @@ class SwSelPaintRects : public SwRects const SwCrsrShell* pCShell; - virtual void Paint( const Rectangle& rRect ); + void Paint( const Rectangle& rRect ); #if HAVE_FEATURE_DESKTOP sdr::overlay::OverlayObject* mpCursorOverlay; diff --git a/sw/source/core/access/acccontext.hxx b/sw/source/core/access/acccontext.hxx index dcc8c4c23689..8d7ae18633b2 100644 --- a/sw/source/core/access/acccontext.hxx +++ b/sw/source/core/access/acccontext.hxx @@ -183,7 +183,7 @@ protected: bool IsEditableState(); - virtual ::com::sun::star::awt::Rectangle SAL_CALL + ::com::sun::star::awt::Rectangle SAL_CALL getBoundsImpl(bool bRelative) throw (css::uno::RuntimeException, std::exception); @@ -297,7 +297,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 getAccessibleKeyBinding() + ::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; diff --git a/sw/source/core/access/accdoc.hxx b/sw/source/core/access/accdoc.hxx index 8333c559be3d..7f630af8355e 100644 --- a/sw/source/core/access/accdoc.hxx +++ b/sw/source/core/access/accdoc.hxx @@ -48,8 +48,8 @@ public: void SetVisArea(); - virtual void AddChild( vcl::Window *pWin, bool bFireEvent = true ); - virtual void RemoveChild( vcl::Window *pWin ); + void AddChild( vcl::Window *pWin, bool bFireEvent = true ); + void RemoveChild( vcl::Window *pWin ); // XAccessibleContext diff --git a/sw/source/core/inc/MarkManager.hxx b/sw/source/core/inc/MarkManager.hxx index 87a4c5031d67..636389da14f3 100644 --- a/sw/source/core/inc/MarkManager.hxx +++ b/sw/source/core/inc/MarkManager.hxx @@ -68,7 +68,7 @@ namespace sw { virtual const_iterator_t getAllMarksEnd() const SAL_OVERRIDE; virtual sal_Int32 getAllMarksCount() const SAL_OVERRIDE; virtual const_iterator_t findMark(const OUString& rName) const SAL_OVERRIDE; - virtual bool hasMark(const OUString& rName) const; + bool hasMark(const OUString& rName) const; // bookmarks virtual const_iterator_t getBookmarksBegin() const SAL_OVERRIDE; diff --git a/sw/source/core/inc/SwXMLTextBlocks.hxx b/sw/source/core/inc/SwXMLTextBlocks.hxx index 4c0e16c6cfcc..b6f21ee293be 100644 --- a/sw/source/core/inc/SwXMLTextBlocks.hxx +++ b/sw/source/core/inc/SwXMLTextBlocks.hxx @@ -77,9 +77,9 @@ public: sal_uLong GetText( const OUString& rShort, OUString& ); virtual bool IsOnlyTextBlock( const OUString& rShort ) const SAL_OVERRIDE; - virtual bool IsOnlyTextBlock( sal_uInt16 nIdx ) const; - virtual void SetIsTextOnly( const OUString& rShort, bool bNewValue ); - virtual void SetIsTextOnly( sal_uInt16 nIdx, bool bNewValue ); + bool IsOnlyTextBlock( sal_uInt16 nIdx ) const; + void SetIsTextOnly( const OUString& rShort, bool bNewValue ); + void SetIsTextOnly( sal_uInt16 nIdx, bool bNewValue ); virtual sal_uLong GetMacroTable( sal_uInt16, SvxMacroTableDtor& rMacroTbl, bool bFileAlreadyOpen = false ) SAL_OVERRIDE; diff --git a/sw/source/core/inc/bookmrk.hxx b/sw/source/core/inc/bookmrk.hxx index d5bc95c9af24..f2891f4defab 100644 --- a/sw/source/core/inc/bookmrk.hxx +++ b/sw/source/core/inc/bookmrk.hxx @@ -80,7 +80,7 @@ namespace sw { virtual bool IsExpanded() const SAL_OVERRIDE { return static_cast< bool >(m_pPos2); } - virtual void SetName(const OUString& rName) + void SetName(const OUString& rName) { m_aName = rName; } virtual void SetMarkPos(const SwPosition& rNewPos); virtual void SetOtherMarkPos(const SwPosition& rNewPos); @@ -89,7 +89,7 @@ namespace sw { virtual OUString ToString( ) const SAL_OVERRIDE; - virtual void Swap() + void Swap() { if(m_pPos2) m_pPos1.swap(m_pPos2); @@ -252,7 +252,7 @@ namespace sw { bool IsChecked() const SAL_OVERRIDE; void SetChecked(bool checked) SAL_OVERRIDE; - virtual OUString toString( ) const; + OUString toString( ) const; }; } } diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index 0df443475a72..f103eca4db66 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -862,7 +862,7 @@ public: public: // if writer is NULL, dumps the layout structure as XML in layout.xml virtual void dumpAsXml(xmlTextWriterPtr writer = NULL) const; - virtual void dumpInfosAsXml(xmlTextWriterPtr writer) const; + void dumpInfosAsXml(xmlTextWriterPtr writer) const; virtual void dumpAsXmlAttributes(xmlTextWriterPtr writer) const; void dumpChildrenAsXml(xmlTextWriterPtr writer) const; bool IsCollapse() const; diff --git a/sw/source/core/inc/observablethread.hxx b/sw/source/core/inc/observablethread.hxx index 13b4527f5d74..aa589ff1ac94 100644 --- a/sw/source/core/inc/observablethread.hxx +++ b/sw/source/core/inc/observablethread.hxx @@ -78,7 +78,7 @@ class ObservableThread : public osl::Thread, */ virtual void SAL_CALL onTerminated() SAL_OVERRIDE; - virtual void threadFinished(); + void threadFinished(); private: diff --git a/sw/source/core/inc/unometa.hxx b/sw/source/core/inc/unometa.hxx index 6d041dcbb4ca..e292b3bb0e0e 100644 --- a/sw/source/core/inc/unometa.hxx +++ b/sw/source/core/inc/unometa.hxx @@ -71,7 +71,7 @@ protected: ::sw::UnoImplPtr<Impl> m_pImpl; - virtual void SAL_CALL AttachImpl( + void SAL_CALL AttachImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange, const sal_uInt16 nWhich) diff --git a/sw/source/core/inc/unoport.hxx b/sw/source/core/inc/unoport.hxx index d48156f3cc02..6b32e2dd0e7c 100644 --- a/sw/source/core/inc/unoport.hxx +++ b/sw/source/core/inc/unoport.hxx @@ -198,13 +198,13 @@ public: virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //XTextContent - virtual void SAL_CALL attach(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getAnchor( ) throw(::com::sun::star::uno::RuntimeException); + void SAL_CALL attach(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ); + ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getAnchor( ) throw(::com::sun::star::uno::RuntimeException); //XComponent - virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener) throw( ::com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener) throw( ::com::sun::star::uno::RuntimeException ); + void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException ); + void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener) throw( ::com::sun::star::uno::RuntimeException ); + void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener) throw( ::com::sun::star::uno::RuntimeException ); //XUnoTunnel static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId(); diff --git a/sw/source/core/undo/unins.cxx b/sw/source/core/undo/unins.cxx index 4025583d9a61..51d540fb34d8 100644 --- a/sw/source/core/undo/unins.cxx +++ b/sw/source/core/undo/unins.cxx @@ -501,8 +501,8 @@ public: { } - virtual void UndoImpl( ::sw::UndoRedoContext & ); - virtual void RedoImpl( ::sw::UndoRedoContext & ); + void UndoImpl( ::sw::UndoRedoContext & ); + void RedoImpl( ::sw::UndoRedoContext & ); void SetEnd(SwPaM const& rPam); diff --git a/sw/source/filter/ww8/attributeoutputbase.hxx b/sw/source/filter/ww8/attributeoutputbase.hxx index 3916eb32fa6e..1b3d5556663b 100644 --- a/sw/source/filter/ww8/attributeoutputbase.hxx +++ b/sw/source/filter/ww8/attributeoutputbase.hxx @@ -214,7 +214,7 @@ public: virtual void OnTOXEnding() {} - virtual void TOXMark( const SwTxtNode& rNode, const SwTOXMark& rAttr ); + void TOXMark( const SwTxtNode& rNode, const SwTOXMark& rAttr ); /// Output redlining. virtual void Redline( const SwRedlineData* pRedline ) = 0; @@ -487,7 +487,7 @@ protected: void TextField( const SwFmtFld& ); /// Sfx item RES_TXTATR_FLYCNT - virtual void TextFlyContent( const SwFmtFlyCnt& ); + void TextFlyContent( const SwFmtFlyCnt& ); /// Sfx item RES_TXTATR_FTN /// @@ -653,7 +653,7 @@ public: virtual void BulletDefinition(int /*nId*/, const Graphic& /*rGraphic*/, Size /*aSize*/) {} // Returns whether or not the 'SwTxtNode' has a paragraph marker inserted \ deleted (using 'track changes') - virtual const SwRedlineData* GetParagraphMarkerRedline( const SwTxtNode& rNode, RedlineType_t aRedlineType ); + const SwRedlineData* GetParagraphMarkerRedline( const SwTxtNode& rNode, RedlineType_t aRedlineType ); }; #endif // INCLUDED_SW_SOURCE_FILTER_WW8_ATTRIBUTEOUTPUTBASE_HXX diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx index a5e13d9d07f5..d0ddd2f36d22 100644 --- a/sw/source/filter/ww8/docxattributeoutput.hxx +++ b/sw/source/filter/ww8/docxattributeoutput.hxx @@ -231,7 +231,7 @@ public: virtual void TableInfoRow( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) SAL_OVERRIDE; virtual void TableDefinition( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) SAL_OVERRIDE; virtual void TableDefaultBorders( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) SAL_OVERRIDE; - virtual void TableDefaultCellMargins( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ); + void TableDefaultCellMargins( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ); virtual void TableBackgrounds( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) SAL_OVERRIDE; virtual void TableRowRedline( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) SAL_OVERRIDE; virtual void TableCellRedline( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) SAL_OVERRIDE; diff --git a/sw/source/filter/ww8/docxexport.hxx b/sw/source/filter/ww8/docxexport.hxx index f2a320e04eee..0f1c655c0bd8 100644 --- a/sw/source/filter/ww8/docxexport.hxx +++ b/sw/source/filter/ww8/docxexport.hxx @@ -111,7 +111,7 @@ public: virtual AttributeOutputBase& AttrOutput() const SAL_OVERRIDE; /// Access to the derived attribute output class. - virtual DocxAttributeOutput& DocxAttrOutput() const; + DocxAttributeOutput& DocxAttrOutput() const; /// Access to the sections/headers/footres. virtual MSWordSections& Sections() const SAL_OVERRIDE; @@ -186,13 +186,13 @@ protected: virtual void ExportDocument_Impl() SAL_OVERRIDE; /// Output page/section breaks - virtual void OutputPageSectionBreaks( const SwTxtNode& ); + void OutputPageSectionBreaks( const SwTxtNode& ); /// Output SwEndNode virtual void OutputEndNode( const SwEndNode& ) SAL_OVERRIDE; /// Output SwTableNode - virtual void OutputTableNode( const SwTableNode& ); + void OutputTableNode( const SwTableNode& ); /// Output SwGrfNode virtual void OutputGrfNode( const SwGrfNode& ) SAL_OVERRIDE; diff --git a/sw/source/filter/ww8/docxexportfilter.hxx b/sw/source/filter/ww8/docxexportfilter.hxx index 582903a60412..1653cd62e5ca 100644 --- a/sw/source/filter/ww8/docxexportfilter.hxx +++ b/sw/source/filter/ww8/docxexportfilter.hxx @@ -36,7 +36,7 @@ public: // For now, let's just do empty implementations of those. virtual bool importDocument() SAL_OVERRIDE { return false; } virtual const ::oox::drawingml::Theme* getCurrentTheme() const SAL_OVERRIDE { return NULL; } - virtual sal_Int32 getSchemeClr( sal_Int32 ) const { return 0; } + sal_Int32 getSchemeClr( sal_Int32 ) const { return 0; } virtual ::oox::vml::Drawing* getVmlDrawing() SAL_OVERRIDE { return NULL; } virtual ::oox::drawingml::chart::ChartConverter* getChartConverter() SAL_OVERRIDE { return NULL; } virtual const ::oox::drawingml::table::TableStyleListPtr getTableStyles() SAL_OVERRIDE { return ::oox::drawingml::table::TableStyleListPtr(); } diff --git a/sw/source/filter/ww8/rtfexport.hxx b/sw/source/filter/ww8/rtfexport.hxx index 44c5c37260ec..0ee6485cdf86 100644 --- a/sw/source/filter/ww8/rtfexport.hxx +++ b/sw/source/filter/ww8/rtfexport.hxx @@ -58,7 +58,7 @@ public: virtual MSWordSections& Sections() const SAL_OVERRIDE; /// Access to the Rtf Sdr exporter. - virtual RtfSdrExport& SdrExporter() const; + RtfSdrExport& SdrExporter() const; /// Determines if the format is expected to support unicode. virtual bool SupportsUnicode() const SAL_OVERRIDE @@ -105,7 +105,7 @@ public: virtual void WriteNumbering() SAL_OVERRIDE; /// Write the revision table. - virtual void WriteRevTab(); + void WriteRevTab(); /// Output the actual headers and footers. virtual void WriteHeadersFooters(sal_uInt8 nHeadFootFlags, diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx index 2e405b083486..12d22fb14fca 100644 --- a/sw/source/filter/ww8/wrtww8.hxx +++ b/sw/source/filter/ww8/wrtww8.hxx @@ -787,10 +787,10 @@ protected: virtual void ExportDocument_Impl() = 0; /// Get the next position in the text node to output - virtual sal_Int32 GetNextPos( SwWW8AttrIter* pAttrIter, const SwTxtNode& rNode, sal_Int32 nAktPos ); + sal_Int32 GetNextPos( SwWW8AttrIter* pAttrIter, const SwTxtNode& rNode, sal_Int32 nAktPos ); /// Update the information for GetNextPos(). - virtual void UpdatePosition( SwWW8AttrIter* pAttrIter, sal_Int32 nAktPos, sal_Int32 nEnd ); + void UpdatePosition( SwWW8AttrIter* pAttrIter, sal_Int32 nAktPos, sal_Int32 nEnd ); /// Output SwTxtNode virtual void OutputTextNode( const SwTxtNode& ); @@ -819,7 +819,7 @@ protected: virtual bool DisallowInheritingOutlineNumbering(const SwFmt &rFmt) = 0; /// Output SwStartNode - virtual void OutputStartNode( const SwStartNode& ); + void OutputStartNode( const SwStartNode& ); /// Output SwEndNode virtual void OutputEndNode( const SwEndNode& ); @@ -833,7 +833,7 @@ protected: virtual void OutputLinkedOLE( const OUString& ) = 0; /// Output SwSectionNode - virtual void OutputSectionNode( const SwSectionNode& ); + void OutputSectionNode( const SwSectionNode& ); virtual void AppendSection( const SwPageDesc *pPageDesc, const SwSectionFmt* pFmt, sal_uLong nLnNum ) = 0; diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx index d6954ac02be6..da3610bb6e37 100644 --- a/sw/source/filter/ww8/ww8par.hxx +++ b/sw/source/filter/ww8/ww8par.hxx @@ -743,14 +743,14 @@ class SwMSConvertControls: public oox::ole::MSConvertOCXControls { public: SwMSConvertControls( SfxObjectShell *pDSh,SwPaM *pP ); - virtual bool InsertFormula( WW8FormulaControl &rFormula); + bool InsertFormula( WW8FormulaControl &rFormula); virtual bool InsertControl(const com::sun::star::uno::Reference< com::sun::star::form::XFormComponent >& rFComp, const ::com::sun::star::awt::Size& rSize, com::sun::star::uno::Reference < com::sun::star::drawing::XShape > *pShape, bool bFloatingCtrl) SAL_OVERRIDE; bool ExportControl(WW8Export &rWrt, const SdrObject *pObj); - virtual bool ReadOCXStream( SotStorageRef& rSrc1, + bool ReadOCXStream( SotStorageRef& rSrc1, com::sun::star::uno::Reference< com::sun::star::drawing::XShape > *pShapeRef=0, bool bFloatingCtrl=false ); diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx index 642a56a00ce0..b114e92e838f 100644 --- a/sw/source/filter/ww8/ww8scan.hxx +++ b/sw/source/filter/ww8/ww8scan.hxx @@ -452,7 +452,7 @@ public: WW8PLCFx_PCD(ww::WordVersion eVersion, WW8PLCFpcd* pPLCFpcd, WW8_CP nStartCp, bool bVer67P); virtual ~WW8PLCFx_PCD(); - virtual sal_uLong GetIMax() const; + sal_uLong GetIMax() const; virtual sal_uInt32 GetIdx() const SAL_OVERRIDE; virtual void SetIdx( sal_uLong nI ) SAL_OVERRIDE; virtual bool SeekPos(WW8_CP nCpPos) SAL_OVERRIDE; diff --git a/sw/source/filter/ww8/ww8toolbar.hxx b/sw/source/filter/ww8/ww8toolbar.hxx index 82e1ab2db060..4e7a4fc88af0 100644 --- a/sw/source/filter/ww8/ww8toolbar.hxx +++ b/sw/source/filter/ww8/ww8toolbar.hxx @@ -112,7 +112,7 @@ protected: public: Tcg255SubStruct( bool bReadId ); virtual ~Tcg255SubStruct(){} - virtual sal_uInt8 id() const { return ch; } + sal_uInt8 id() const { return ch; } bool Read(SvStream &rS) SAL_OVERRIDE; }; diff --git a/sw/source/filter/xml/xmlexpit.hxx b/sw/source/filter/xml/xmlexpit.hxx index d3c37d4d5a13..93492c6f7dcb 100644 --- a/sw/source/filter/xml/xmlexpit.hxx +++ b/sw/source/filter/xml/xmlexpit.hxx @@ -86,7 +86,7 @@ public: /** this method is called for every item that has the MID_SW_FLAG_NO_ITEM_EXPORT flag set */ - virtual void handleNoItem( SvXMLAttributeList& rAttrList, + void handleNoItem( SvXMLAttributeList& rAttrList, const SvXMLItemMapEntry& rEntry, const SvXMLUnitConverter& rUnitConverter, const SvXMLNamespaceMap& rNamespaceMap, diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx index f1b4407b58ac..b68938cb3709 100644 --- a/sw/source/ui/index/swuiidxmrk.cxx +++ b/sw/source/ui/index/swuiidxmrk.cxx @@ -566,12 +566,8 @@ class SwNewUserIdxDlg : public ModalDialog m_pNameED->GrabFocus(); } - virtual void Apply(); OUString GetName(){return m_pNameED->GetText();} }; -void SwNewUserIdxDlg::Apply() -{ -} IMPL_LINK( SwNewUserIdxDlg, ModifyHdl, Edit*, pEdit) { diff --git a/sw/source/ui/vba/vbaapplication.hxx b/sw/source/ui/vba/vbaapplication.hxx index 6e0abdf74c22..a0a25380860c 100644 --- a/sw/source/ui/vba/vbaapplication.hxx +++ b/sw/source/ui/vba/vbaapplication.hxx @@ -39,7 +39,7 @@ public: SwVbaApplication( css::uno::Reference< css::uno::XComponentContext >& m_xContext ); virtual ~SwVbaApplication(); - virtual SfxObjectShell* GetDocShell( const css::uno::Reference< css::frame::XModel >& xModel ) throw (css::uno::RuntimeException); + SfxObjectShell* GetDocShell( const css::uno::Reference< css::frame::XModel >& xModel ) throw (css::uno::RuntimeException); // XApplication virtual OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sw/source/ui/vba/vbadocumentproperties.cxx b/sw/source/ui/vba/vbadocumentproperties.cxx index 2a904386782b..860d8393d4d0 100644 --- a/sw/source/ui/vba/vbadocumentproperties.cxx +++ b/sw/source/ui/vba/vbadocumentproperties.cxx @@ -75,7 +75,7 @@ public: virtual ~PropertGetSetHelper() {} virtual uno::Any getPropertyValue( const OUString& rPropName ) = 0; virtual void setPropertyValue( const OUString& rPropName, const uno::Any& aValue ) = 0; - virtual uno::Reference< beans::XPropertySet > getUserDefinedProperties() { + uno::Reference< beans::XPropertySet > getUserDefinedProperties() { return uno::Reference<beans::XPropertySet>( m_xDocProps->getUserDefinedProperties(), uno::UNO_QUERY_THROW); } diff --git a/sw/source/ui/vba/vbaglobals.hxx b/sw/source/ui/vba/vbaglobals.hxx index f8c4fdb29329..0272508913dd 100644 --- a/sw/source/ui/vba/vbaglobals.hxx +++ b/sw/source/ui/vba/vbaglobals.hxx @@ -38,7 +38,7 @@ class SwVbaGlobals : public SwVbaGlobals_BASE private: css::uno::Reference< ooo::vba::word::XApplication > mxApplication; - virtual css::uno::Reference< ooo::vba::word::XApplication > getApplication() throw (css::uno::RuntimeException); + css::uno::Reference< ooo::vba::word::XApplication > getApplication() throw (css::uno::RuntimeException); public: diff --git a/sw/source/ui/vba/vbatable.hxx b/sw/source/ui/vba/vbatable.hxx index 58714a38b53b..e80e362925f2 100644 --- a/sw/source/ui/vba/vbatable.hxx +++ b/sw/source/ui/vba/vbatable.hxx @@ -37,7 +37,7 @@ public: virtual css::uno::Reference< ::ooo::vba::word::XRange > SAL_CALL Range( ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL Select( ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL Delete( ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual css::uno::Reference< ::ooo::vba::word::XRange > SAL_CALL ConvertToText( const css::uno::Any& Separator, const css::uno::Any& NestedTables ) throw (css::script::BasicErrorException, css::uno::RuntimeException); + css::uno::Reference< ::ooo::vba::word::XRange > SAL_CALL ConvertToText( const css::uno::Any& Separator, const css::uno::Any& NestedTables ) throw (css::script::BasicErrorException, css::uno::RuntimeException); virtual OUString SAL_CALL getName( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Any SAL_CALL Borders( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Any SAL_CALL Rows( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sw/source/uibase/inc/actctrl.hxx b/sw/source/uibase/inc/actctrl.hxx index 790bc0009768..6be1c310a92a 100644 --- a/sw/source/uibase/inc/actctrl.hxx +++ b/sw/source/uibase/inc/actctrl.hxx @@ -28,7 +28,7 @@ class SW_DLLPUBLIC NumEditAction: public NumericField Link aActionLink; protected: - virtual void Action(); + void Action(); virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; public: NumEditAction( vcl::Window* pParent, const ResId& rResId ) : diff --git a/sw/source/uibase/inc/conttree.hxx b/sw/source/uibase/inc/conttree.hxx index 2c603fef01b9..79273b06054b 100644 --- a/sw/source/uibase/inc/conttree.hxx +++ b/sw/source/uibase/inc/conttree.hxx @@ -198,7 +198,7 @@ public: virtual void KeyInput(const KeyEvent& rKEvt) SAL_OVERRIDE; virtual bool Select( SvTreeListEntry* pEntry, bool bSelect=true ) SAL_OVERRIDE; - virtual sal_Int32 GetEntryRealChildrenNum( SvTreeListEntry* pEntry ) const; + sal_Int32 GetEntryRealChildrenNum( SvTreeListEntry* pEntry ) const; using Control::Notify; // FIXME why do we have 2 of these virtual void Notify(SfxBroadcaster& rBC, SfxHint const& rHint) SAL_OVERRIDE; diff --git a/sw/source/uibase/inc/edtwin.hxx b/sw/source/uibase/inc/edtwin.hxx index ff049097c950..3866dbf723ef 100644 --- a/sw/source/uibase/inc/edtwin.hxx +++ b/sw/source/uibase/inc/edtwin.hxx @@ -295,7 +295,7 @@ public: SwEditWin(vcl::Window *pParent, SwView &); virtual ~SwEditWin(); - virtual void SwitchView(); + void SwitchView(); /** * Notification about some region of the output device got invalidated. * diff --git a/sw/source/uibase/inc/navipi.hxx b/sw/source/uibase/inc/navipi.hxx index 386213b74285..02c47361374f 100644 --- a/sw/source/uibase/inc/navipi.hxx +++ b/sw/source/uibase/inc/navipi.hxx @@ -115,7 +115,7 @@ class SwNavigationPI : public vcl::Window, void MakeVisible(); void InitImageList(); - virtual SfxChildAlignment + SfxChildAlignment CheckAlignment(SfxChildAlignment,SfxChildAlignment); void SetPopupWindow( SfxPopupWindow* ); @@ -124,7 +124,7 @@ class SwNavigationPI : public vcl::Window, protected: - virtual bool Close(); + bool Close(); virtual void Resize() SAL_OVERRIDE; virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; diff --git a/sw/source/uibase/inc/popbox.hxx b/sw/source/uibase/inc/popbox.hxx index 57f2eaeef7a1..fd90c912c6c5 100644 --- a/sw/source/uibase/inc/popbox.hxx +++ b/sw/source/uibase/inc/popbox.hxx @@ -33,7 +33,7 @@ class SwHelpToolBox: public ToolBox, public DropTargetHelper protected: virtual void MouseButtonDown(const MouseEvent &rEvt) SAL_OVERRIDE; - virtual long DoubleClick(ToolBox *); + long DoubleClick(ToolBox *); virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ) SAL_OVERRIDE; virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) SAL_OVERRIDE; diff --git a/sw/source/uibase/inc/pview.hxx b/sw/source/uibase/inc/pview.hxx index c5ccce1c80f4..2b2fa240a25c 100644 --- a/sw/source/uibase/inc/pview.hxx +++ b/sw/source/uibase/inc/pview.hxx @@ -141,7 +141,7 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> CreateAccessible() SAL_OVERRIDE; - virtual void SwitchView(); + void SwitchView(); }; /** @@ -236,7 +236,7 @@ public: void DocSzChgd(const Size& rNewSize); const Size& GetDocSz() const { return aDocSz; } - virtual void SetVisArea( const Rectangle&, bool bUpdateScrollbar = true); + void SetVisArea( const Rectangle&, bool bUpdateScrollbar = true); inline void AdjustEditWin(); diff --git a/sw/source/uibase/inc/redlndlg.hxx b/sw/source/uibase/inc/redlndlg.hxx index 97cffe688fc2..7cffc0bb366a 100644 --- a/sw/source/uibase/inc/redlndlg.hxx +++ b/sw/source/uibase/inc/redlndlg.hxx @@ -129,7 +129,7 @@ public: void Initialize(const OUString &rExtraData); void FillInfo(OUString &rExtraData) const; - virtual void Activate(); + void Activate(); }; class SwModelessRedlineAcceptDlg : public SfxModelessDialog diff --git a/sw/source/uibase/inc/uinums.hxx b/sw/source/uibase/inc/uinums.hxx index 5b2226ff68ed..5fc129de1104 100644 --- a/sw/source/uibase/inc/uinums.hxx +++ b/sw/source/uibase/inc/uinums.hxx @@ -79,7 +79,7 @@ public: void GetNumFmt(size_t, SwNumFmt const*&, OUString const*&) const; }; -class SwChapterNumRules +class SW_DLLPUBLIC SwChapterNumRules { public: enum { nMaxRules = MAX_NUM_RULES }; // currently 9 defined forms @@ -95,7 +95,7 @@ public: inline const SwNumRulesWithName* GetRules(sal_uInt16 nIdx) const; void CreateEmptyNumRule(sal_uInt16 nIdx); // for import - virtual void ApplyNumRules( + void ApplyNumRules( const SwNumRulesWithName &rCopy, sal_uInt16 nIdx); diff --git a/sw/source/uibase/inc/view.hxx b/sw/source/uibase/inc/view.hxx index fd27dba2c106..20cf95ffcd57 100644 --- a/sw/source/uibase/inc/view.hxx +++ b/sw/source/uibase/inc/view.hxx @@ -475,7 +475,7 @@ public: void DocSzChgd( const Size& rNewSize ); const Size& GetDocSz() const { return m_aDocSz; } - virtual void SetVisArea( const Rectangle&, bool bUpdateScrollbar = true); + void SetVisArea( const Rectangle&, bool bUpdateScrollbar = true); void SetVisArea( const Point&, bool bUpdateScrollbar = true); void CheckVisArea(); |