summaryrefslogtreecommitdiff
path: root/include/sfx2/viewfrm.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
commit567ef6d5782cdb729b49005caf6005610ce03e22 (patch)
tree7e3be1da41382e555d9091914ef7e064852a4fd4 /include/sfx2/viewfrm.hxx
parentc36daa01f444ebad799c1cc7a106f1b4bb3c3d12 (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/viewfrm.hxx')
-rw-r--r--include/sfx2/viewfrm.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx
index 43cac0dcf437..9c678f401ac8 100644
--- a/include/sfx2/viewfrm.hxx
+++ b/include/sfx2/viewfrm.hxx
@@ -79,7 +79,7 @@ private:
#endif
protected:
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE;
#ifndef _SFX_HXX
SAL_DLLPRIVATE void KillDispatcher_Impl();
@@ -135,8 +135,8 @@ public:
void ToTop();
void Enable( bool bEnable );
virtual bool Close();
- virtual void Activate( bool bUI );
- virtual void Deactivate( bool bUI );
+ virtual void Activate( bool bUI ) SAL_OVERRIDE;
+ virtual void Deactivate( bool bUI ) SAL_OVERRIDE;
// DDE-Interface
virtual long DdeExecute( const OUString& rCmd );
@@ -157,7 +157,7 @@ public:
SAL_DLLPRIVATE virtual const SvBorder& GetBorderPixelImpl( const SfxViewShell *pSh ) const;
SAL_DLLPRIVATE virtual void InvalidateBorderImpl( const SfxViewShell *pSh );
- virtual SfxObjectShell* GetObjectShell();
+ virtual SfxObjectShell* GetObjectShell() SAL_OVERRIDE;
sal_uInt16 GetCurViewId() const;
SfxFrame& GetFrame() const;
SfxViewFrame* GetTopViewFrame() const;
@@ -303,9 +303,9 @@ public:
pFrame( pViewFrame)
{}
- virtual bool operator==( const SfxPoolItem& ) const;
+ virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
virtual OUString GetValueText() const;
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
SfxViewFrame* GetFrame() const
{ return pFrame; }
@@ -323,10 +323,10 @@ public:
SfxVerbListItem( sal_uInt16 nWhichId, const com::sun::star::uno::Sequence < com::sun::star::embed::VerbDescriptor >& );
- virtual bool operator==( const SfxPoolItem& ) const;
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
+ virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
const com::sun::star::uno::Sequence < com::sun::star::embed::VerbDescriptor >& GetVerbList() const { return aVerbs; }
};