summaryrefslogtreecommitdiffstats
path: root/sw/inc/chpfld.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/chpfld.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/chpfld.hxx')
-rw-r--r--sw/inc/chpfld.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/chpfld.hxx b/sw/inc/chpfld.hxx
index 891e43e57a05..6faccfcd9c03 100644
--- a/sw/inc/chpfld.hxx
+++ b/sw/inc/chpfld.hxx
@@ -41,7 +41,7 @@ class SwChapterFieldType : public SwFieldType
public:
SwChapterFieldType();
- virtual SwFieldType* Copy() const;
+ virtual SwFieldType* Copy() const SAL_OVERRIDE;
};
@@ -54,8 +54,8 @@ class SW_DLLPUBLIC SwChapterField : public SwField
OUString sPre;
OUString sPost;
- virtual OUString Expand() const;
- virtual SwField* Copy() const;
+ virtual OUString Expand() const SAL_OVERRIDE;
+ virtual SwField* Copy() const SAL_OVERRIDE;
public:
SwChapterField(SwChapterFieldType*, sal_uInt32 nFmt = 0);
@@ -71,8 +71,8 @@ public:
inline OUString GetNumber() const;
inline OUString GetTitle() const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const SAL_OVERRIDE;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
};
inline sal_uInt8 SwChapterField::GetLevel() const { return nLevel; }