summaryrefslogtreecommitdiffstats
path: root/sw/inc/fmtfld.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
commit567ef6d5782cdb729b49005caf6005610ce03e22 (patch)
tree7e3be1da41382e555d9091914ef7e064852a4fd4 /sw/inc/fmtfld.hxx
parentIntroduce INetContentType::scan (diff)
downloadcore-567ef6d5782cdb729b49005caf6005610ce03e22.tar.gz
core-567ef6d5782cdb729b49005caf6005610ce03e22.zip
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
Diffstat (limited to 'sw/inc/fmtfld.hxx')
-rw-r--r--sw/inc/fmtfld.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx
index 5c87e31c58a2..b1e89ecde91e 100644
--- a/sw/inc/fmtfld.hxx
+++ b/sw/inc/fmtfld.hxx
@@ -51,8 +51,8 @@ class SW_DLLPUBLIC SwFmtFld : public SfxPoolItem, public SwClient, public SfxBro
SwFmtFld& operator=(const SwFmtFld& rFld);
protected:
- virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew);
- virtual void SwClientNotify( const SwModify& rModify, const SfxHint& rHint );
+ virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) SAL_OVERRIDE;
+ virtual void SwClientNotify( const SwModify& rModify, const SfxHint& rHint ) SAL_OVERRIDE;
public:
TYPEINFO_OVERRIDE();
@@ -66,10 +66,10 @@ public:
virtual ~SwFmtFld();
/// "Pure virtual methods" of SfxPoolItem.
- virtual bool operator==( const SfxPoolItem& ) const;
- virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
+ virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
+ virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const SAL_OVERRIDE;
- virtual bool GetInfo( SfxPoolItem& rInfo ) const;
+ virtual bool GetInfo( SfxPoolItem& rInfo ) const SAL_OVERRIDE;
const SwField* GetField() const
{