summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-17 08:17:21 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-17 08:17:21 +0100
commit05da6e1d60daba1a29e472f07d8c43e39bc70363 (patch)
tree4231bbb14e6ea941c01e6393771b24b57e46492f
parentd4652b5e2f1c7a2c207888fade7a41245b7ae9fb (diff)
-Werror,-Winconsistent-missing-override
Change-Id: I1ee901c1d8d5fcb42832e2af8e834cfd295eb627
-rw-r--r--sw/inc/calbck.hxx1
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));