diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-29 09:07:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-29 23:42:26 +0000 |
commit | 309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83 (patch) | |
tree | f8b8cea0a81bc74ca34e8bda2d0dfce939b28ce0 /sw/inc | |
parent | 20deac4903fc0697477e855feeff482b3da234f9 (diff) |
callcatcher: large newly detected unused methods post de-virtualization
i.e lots now able to be detected after...
commit b44cbb26efe1d0b0950b1e1613e131b506dc3876
Author: Noel Grandin <noel@peralex.com>
Date: Tue Jan 20 12:38:10 2015 +0200
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: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/dcontact.hxx | 3 | ||||
-rw-r--r-- | sw/inc/dlelstnr.hxx | 3 | ||||
-rw-r--r-- | sw/inc/doc.hxx | 1 | ||||
-rw-r--r-- | sw/inc/docsh.hxx | 3 | ||||
-rw-r--r-- | sw/inc/redline.hxx | 1 | ||||
-rw-r--r-- | sw/inc/shellio.hxx | 1 |
6 files changed, 0 insertions, 12 deletions
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx index e2230dc10c60..6b63023dbfc3 100644 --- a/sw/inc/dcontact.hxx +++ b/sw/inc/dcontact.hxx @@ -234,8 +234,6 @@ class SwDrawVirtObj : public SdrVirtObj inserted into the drawing layer. */ SwDrawContact& mrDrawContact; - using SdrVirtObj::GetPlusHdl; - protected: /** AW: Need own sdr::contact::ViewContact since AnchorPos from parent is not used but something own (top left of new SnapRect minus top left @@ -277,7 +275,6 @@ 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; - 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 167a61d44c76..99ca2865a489 100644 --- a/sw/inc/dlelstnr.hxx +++ b/sw/inc/dlelstnr.hxx @@ -68,9 +68,6 @@ public: /// XEventListener virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& rEventObj ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - /// XDictionaryListEventListener - 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 46eb057f6e9e..1b9b31775003 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -535,7 +535,6 @@ public: ::sw::DocumentContentOperationsManager const & GetDocumentContentOperationsManager() const; ::sw::DocumentContentOperationsManager & GetDocumentContentOperationsManager(); - void SetModified(SwPaM &rPaM); bool UpdateParRsid( SwTxtNode *pTxtNode, sal_uInt32 nVal = 0 ); bool UpdateRsid( const SwPaM &rRg, sal_Int32 nLen ); diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index 913a8c5378ea..294bfa79bf7e 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -293,9 +293,6 @@ public: read by the binary filter: */ virtual void UpdateLinks() SAL_OVERRIDE; - 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/redline.hxx b/sw/inc/redline.hxx index 2c7e45ae1052..17bc9b7896dd 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -45,7 +45,6 @@ public: virtual ~SwRedlineExtraData(); virtual SwRedlineExtraData* CreateNew() const = 0; - 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 d992909534b0..c5f626f2c637 100644 --- a/sw/inc/shellio.hxx +++ b/sw/inc/shellio.hxx @@ -420,7 +420,6 @@ public: virtual void SetupFilterOptions(SfxMedium& rMedium); - void SetVersion( const OUString&, long ); virtual bool IsStgWriter() const; void SetShowProgress( bool bFlag = false ) { bShowProgress = bFlag; } |