diff options
-rw-r--r-- | sw/inc/calbck.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index 214165307090..411378551436 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -121,6 +121,7 @@ public: { CheckRegistration( pOldValue, pNewValue ); } // when overriding this, you MUST call SwClient::SwClientModify() in the override! virtual void SwClientNotify( const SwModify&, const SfxHint& rHint) + SAL_OVERRIDE { // assuming the compiler to realize that a dynamic_cast to a final class is just a pointer compare ... auto pLegacyHint(dynamic_cast<const sw::LegacyModifyHint*>(&rHint)); |