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 /sc/inc/drwlayer.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 'sc/inc/drwlayer.hxx')
-rw-r--r-- | sc/inc/drwlayer.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx index d127bf7e3f93..538c1fca63e4 100644 --- a/sc/inc/drwlayer.hxx +++ b/sc/inc/drwlayer.hxx @@ -74,8 +74,8 @@ public: const ScAddress& rNS, const ScAddress& rNE ); ~ScUndoObjData(); - virtual void Undo(); - virtual void Redo(); + virtual void Undo() SAL_OVERRIDE; + virtual void Redo() SAL_OVERRIDE; }; class SC_DLLPUBLIC ScDrawLayer : public FmFormModel @@ -99,11 +99,11 @@ public: ScDrawLayer( ScDocument* pDocument, const OUString& rName ); virtual ~ScDrawLayer(); - virtual SdrPage* AllocPage(bool bMasterPage); - virtual SdrModel* AllocModel() const; + virtual SdrPage* AllocPage(bool bMasterPage) SAL_OVERRIDE; + virtual SdrModel* AllocModel() const SAL_OVERRIDE; virtual void SetChanged( bool bFlg = true ) SAL_OVERRIDE; - virtual SdrLayerID GetControlExportLayerId( const SdrObject & ) const; + virtual SdrLayerID GetControlExportLayerId( const SdrObject & ) const SAL_OVERRIDE; bool HasObjects() const; @@ -196,15 +196,15 @@ public: static ScMacroInfo* GetMacroInfo( SdrObject* pObj, bool bCreate = false ); - virtual ImageMap* GetImageMapForObject(SdrObject* pObj); - virtual sal_Int32 GetHyperlinkCount(SdrObject* pObj); + virtual ImageMap* GetImageMapForObject(SdrObject* pObj) SAL_OVERRIDE; + virtual sal_Int32 GetHyperlinkCount(SdrObject* pObj) SAL_OVERRIDE; private: static SfxObjectShell* pGlobalDrawPersist; // for AllocModel public: static void SetGlobalDrawPersist(SfxObjectShell* pPersist); protected: - virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoModel(); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoModel() SAL_OVERRIDE; }; |