From 567ef6d5782cdb729b49005caf6005610ce03e22 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 27 Mar 2014 18:12:18 +0100 Subject: Second batch of adding SAL_OVERRIDE to overriding function declarations ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f --- sw/inc/fmtcol.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sw/inc/fmtcol.hxx') diff --git a/sw/inc/fmtcol.hxx b/sw/inc/fmtcol.hxx index e5e000f45cdd..1b77f1542df2 100644 --- a/sw/inc/fmtcol.hxx +++ b/sw/inc/fmtcol.hxx @@ -86,7 +86,7 @@ protected: { pNextTxtFmtColl = this; } /// To get UL- / LR- / FontHeight-changes. - virtual void Modify( const SfxPoolItem*, const SfxPoolItem* ); + virtual void Modify( const SfxPoolItem*, const SfxPoolItem* ) SAL_OVERRIDE; public: @@ -109,12 +109,12 @@ public: /** Override to recognize changes on the and register/unregister the paragragh style at the corresponding instance. */ - virtual bool SetFmtAttr( const SfxPoolItem& rAttr ); - virtual bool SetFmtAttr( const SfxItemSet& rSet ); - virtual bool ResetFmtAttr( sal_uInt16 nWhich1, sal_uInt16 nWhich2 = 0 ); + virtual bool SetFmtAttr( const SfxPoolItem& rAttr ) SAL_OVERRIDE; + virtual bool SetFmtAttr( const SfxItemSet& rSet ) SAL_OVERRIDE; + virtual bool ResetFmtAttr( sal_uInt16 nWhich1, sal_uInt16 nWhich2 = 0 ) SAL_OVERRIDE; /// Override to stay assigned to list level of outline style. - virtual sal_uInt16 ResetAllFmtAttr(); + virtual sal_uInt16 ResetAllFmtAttr() SAL_OVERRIDE; inline bool StayAssignedToListLevelOfOutlineStyle() const { -- cgit