diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
commit | 567ef6d5782cdb729b49005caf6005610ce03e22 (patch) | |
tree | 7e3be1da41382e555d9091914ef7e064852a4fd4 /sw/inc/authfld.hxx | |
parent | c36daa01f444ebad799c1cc7a106f1b4bb3c3d12 (diff) |
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/authfld.hxx')
-rw-r--r-- | sw/inc/authfld.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx index a26cc6d30122..2e3308fd112d 100644 --- a/sw/inc/authfld.hxx +++ b/sw/inc/authfld.hxx @@ -70,16 +70,16 @@ class SW_DLLPUBLIC SwAuthorityFieldType : public SwFieldType OUString m_sSortAlgorithm; protected: -virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ); +virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) SAL_OVERRIDE; public: SwAuthorityFieldType(SwDoc* pDoc); ~SwAuthorityFieldType(); - virtual SwFieldType* Copy() const; + virtual SwFieldType* Copy() const SAL_OVERRIDE; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhichId ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhichId ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhichId ) const SAL_OVERRIDE; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhichId ) SAL_OVERRIDE; inline void SetDoc(SwDoc* pNewDoc) { m_pDoc = pNewDoc; } SwDoc* GetDoc(){ return m_pDoc; } @@ -146,8 +146,8 @@ class SwAuthorityField : public SwField sal_IntPtr m_nHandle; mutable sal_IntPtr m_nTempSequencePos; - virtual OUString Expand() const; - virtual SwField* Copy() const; + virtual OUString Expand() const SAL_OVERRIDE; + virtual SwField* Copy() const SAL_OVERRIDE; public: /// For internal use only, in general continue using ExpandField() instead. @@ -159,15 +159,15 @@ public: OUString GetFieldText(ToxAuthorityField eField) const; - virtual void SetPar1(const OUString& rStr); - virtual SwFieldType* ChgTyp( SwFieldType* ); + virtual void SetPar1(const OUString& rStr) SAL_OVERRIDE; + virtual SwFieldType* ChgTyp( SwFieldType* ) SAL_OVERRIDE; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhichId ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhichId ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhichId ) const SAL_OVERRIDE; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhichId ) SAL_OVERRIDE; sal_IntPtr GetHandle() const { return m_nHandle; } - virtual OUString GetDescription() const; + virtual OUString GetDescription() const SAL_OVERRIDE; }; // --- inlines ----------------------------------------------------------- |