[Libreoffice-commits] core.git: sw/inc

Stephan Bergmann sbergman at redhat.com
Tue Mar 17 00:18:22 PDT 2015


 sw/inc/calbck.hxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 05da6e1d60daba1a29e472f07d8c43e39bc70363
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Mar 17 08:17:21 2015 +0100

    -Werror,-Winconsistent-missing-override
    
    Change-Id: I1ee901c1d8d5fcb42832e2af8e834cfd295eb627

diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx
index 2141653..4113785 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));


More information about the Libreoffice-commits mailing list