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/stlsheet.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/stlsheet.hxx')
-rw-r--r-- | sc/inc/stlsheet.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sc/inc/stlsheet.hxx b/sc/inc/stlsheet.hxx index 87a855ddda84..e302c6cc07e0 100644 --- a/sc/inc/stlsheet.hxx +++ b/sc/inc/stlsheet.hxx @@ -47,17 +47,17 @@ public: ScStyleSheet( const ScStyleSheet& rStyle ); - virtual bool SetParent ( const OUString& rParentName ); - virtual SfxItemSet& GetItemSet (); - virtual bool IsUsed () const; - virtual bool HasFollowSupport () const; - virtual bool HasParentSupport () const; + virtual bool SetParent ( const OUString& rParentName ) SAL_OVERRIDE; + virtual SfxItemSet& GetItemSet () SAL_OVERRIDE; + virtual bool IsUsed () const SAL_OVERRIDE; + virtual bool HasFollowSupport () const SAL_OVERRIDE; + virtual bool HasParentSupport () const SAL_OVERRIDE; - virtual const OUString& GetName() const; - virtual const OUString& GetParent() const; - virtual const OUString& GetFollow() const; + virtual const OUString& GetName() const SAL_OVERRIDE; + virtual const OUString& GetParent() const SAL_OVERRIDE; + virtual const OUString& GetFollow() const SAL_OVERRIDE; - virtual bool SetName( const OUString& ); + virtual bool SetName( const OUString& ) SAL_OVERRIDE; void SetUsage( ScStyleSheet::Usage eUse ) const { eUsage = eUse; } @@ -72,7 +72,7 @@ protected: SfxStyleFamily eFamily, sal_uInt16 nMask ); - virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; }; #endif // SC_STLSHEET_HXX |