Kaydet (Commit) fc2b4401 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:saloverride

Change-Id: I974bf297a5d12098d8553c862725cf1cbd4384ef
üst 18e55748
...@@ -107,8 +107,8 @@ protected: ...@@ -107,8 +107,8 @@ protected:
public: public:
SwClient() : pRegisteredIn(nullptr) {} SwClient() : pRegisteredIn(nullptr) {}
virtual ~SwClient(); virtual ~SwClient() SAL_OVERRIDE;
virtual void Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewValue ) virtual void Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewValue ) SAL_OVERRIDE
{ CheckRegistration( pOldValue, pNewValue ); } { CheckRegistration( pOldValue, pNewValue ); }
// in case an SwModify object is destroyed that itself is registered in another SwModify, // in case an SwModify object is destroyed that itself is registered in another SwModify,
...@@ -250,7 +250,7 @@ public: ...@@ -250,7 +250,7 @@ public:
our_pClientIters = this; our_pClientIters = this;
m_pCurrent = m_pPosition = const_cast<SwClient*>(m_rRoot.GetDepends()); m_pCurrent = m_pPosition = const_cast<SwClient*>(m_rRoot.GetDepends());
} }
~SwClientIter() ~SwClientIter() SAL_OVERRIDE
{ {
assert(our_pClientIters); assert(our_pClientIters);
if(our_pClientIters == this) if(our_pClientIters == this)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment