sw/inc/calbck.hxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 05da6e1d60daba1a29e472f07d8c43e39bc70363 Author: Stephan Bergmann <sberg...@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)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits