diff options
Diffstat (limited to 'include/svx/ofaitem.hxx')
-rw-r--r-- | include/svx/ofaitem.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/ofaitem.hxx b/include/svx/ofaitem.hxx index 385e125a3c80..cc648b9cc134 100644 --- a/include/svx/ofaitem.hxx +++ b/include/svx/ofaitem.hxx @@ -34,8 +34,8 @@ public: OfaPtrItem( sal_uInt16 nWhich, void *pPtr ); OfaPtrItem( const OfaPtrItem& ); - 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; void* GetValue() const { return pPtr; } void SetValue( void* pNewPtr ) { pPtr = pNewPtr; } @@ -55,11 +55,11 @@ public: OfaRefItem( const OfaRefItem& rItem ) : SfxPoolItem( rItem.Which() ), mxRef( rItem.mxRef ) {} - virtual bool operator==( const SfxPoolItem& rItem ) const + virtual bool operator==( const SfxPoolItem& rItem ) const SAL_OVERRIDE { return mxRef == ((OfaRefItem<reference_type> &)rItem).mxRef; } - virtual SfxPoolItem*Clone( SfxItemPool* /*pPool = 0*/ ) const + virtual SfxPoolItem*Clone( SfxItemPool* /*pPool = 0*/ ) const SAL_OVERRIDE { return new OfaRefItem( *this ); } |