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 /include/sfx2/itemconnect.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 'include/sfx2/itemconnect.hxx')
-rw-r--r-- | include/sfx2/itemconnect.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/sfx2/itemconnect.hxx b/include/sfx2/itemconnect.hxx index 7dc7f5948345..f7e36c7f538b 100644 --- a/include/sfx2/itemconnect.hxx +++ b/include/sfx2/itemconnect.hxx @@ -261,11 +261,11 @@ public: protected: /** Actions according to current flags for the control. */ - virtual void ApplyFlags( const SfxItemSet& rItemSet ); + virtual void ApplyFlags( const SfxItemSet& rItemSet ) SAL_OVERRIDE; /** Resets the control according to the item contents. */ - virtual void Reset( const SfxItemSet& rItemSet ); + virtual void Reset( const SfxItemSet& rItemSet ) SAL_OVERRIDE; /** Fills the item set according to the control's state. */ - virtual bool FillItemSet( SfxItemSet& rDestSet, const SfxItemSet& rOldSet ); + virtual bool FillItemSet( SfxItemSet& rDestSet, const SfxItemSet& rOldSet ) SAL_OVERRIDE; ItemWrapperType maItemWrp; ControlWrapperRef mxCtrlWrp; @@ -290,9 +290,9 @@ public: ItemConnFlags nFlags = ITEMCONN_DEFAULT ); protected: - virtual void ApplyFlags( const SfxItemSet& rItemSet ); - virtual void Reset( const SfxItemSet& rItemSet ); - virtual bool FillItemSet( SfxItemSet& rDestSet, const SfxItemSet& rOldSet ); + virtual void ApplyFlags( const SfxItemSet& rItemSet ) SAL_OVERRIDE; + virtual void Reset( const SfxItemSet& rItemSet ) SAL_OVERRIDE; + virtual bool FillItemSet( SfxItemSet& rDestSet, const SfxItemSet& rOldSet ) SAL_OVERRIDE; private: sal_uInt16 mnSlot; @@ -449,9 +449,9 @@ public: void AddConnection( ItemConnectionBase* pConnection ); protected: - virtual void ApplyFlags( const SfxItemSet& rItemSet ); - virtual void Reset( const SfxItemSet& rItemSet ); - virtual bool FillItemSet( SfxItemSet& rDestSet, const SfxItemSet& rOldSet ); + virtual void ApplyFlags( const SfxItemSet& rItemSet ) SAL_OVERRIDE; + virtual void Reset( const SfxItemSet& rItemSet ) SAL_OVERRIDE; + virtual bool FillItemSet( SfxItemSet& rDestSet, const SfxItemSet& rOldSet ) SAL_OVERRIDE; private: std::auto_ptr< ItemConnectionArrayImpl > mxImpl; |