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/section.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/section.hxx')
-rw-r--r-- | sw/inc/section.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx index 2d958baeb0df..9b0e27e34240 100644 --- a/sw/inc/section.hxx +++ b/sw/inc/section.hxx @@ -160,7 +160,7 @@ private: bool const bHidden, bool const bCondition); protected: - virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ); + virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) SAL_OVERRIDE; public: TYPEINFO_OVERRIDE(); // rtti @@ -296,20 +296,20 @@ class SW_DLLPUBLIC SwSectionFmt protected: SwSectionFmt( SwSectionFmt* pDrvdFrm, SwDoc *pDoc ); - virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ); + virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) SAL_OVERRIDE; public: TYPEINFO_OVERRIDE(); // Already contained in base class client. ~SwSectionFmt(); // Deletes all Frms in aDepend (Frms are recognized via PTR_CAST). - virtual void DelFrms(); + virtual void DelFrms() SAL_OVERRIDE; // Creates views. - virtual void MakeFrms(); + virtual void MakeFrms() SAL_OVERRIDE; // Get information from Format. - virtual bool GetInfo( SfxPoolItem& ) const; + virtual bool GetInfo( SfxPoolItem& ) const SAL_OVERRIDE; SwSection* GetSection() const; inline SwSectionFmt* GetParent() const; @@ -341,12 +341,12 @@ public: { m_wXTextSection = xTextSection; } // sfx2::Metadatable - virtual ::sfx2::IXmlIdRegistry& GetRegistry(); - virtual bool IsInClipboard() const; - virtual bool IsInUndo() const; - virtual bool IsInContent() const; + virtual ::sfx2::IXmlIdRegistry& GetRegistry() SAL_OVERRIDE; + virtual bool IsInClipboard() const SAL_OVERRIDE; + virtual bool IsInUndo() const SAL_OVERRIDE; + virtual bool IsInContent() const SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< - ::com::sun::star::rdf::XMetadatable > MakeUnoObject(); + ::com::sun::star::rdf::XMetadatable > MakeUnoObject() SAL_OVERRIDE; }; |