diff options
Diffstat (limited to 'include/sfx2/fcontnr.hxx')
-rw-r--r-- | include/sfx2/fcontnr.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/fcontnr.hxx b/include/sfx2/fcontnr.hxx index c44dcd2a26e5..f7cfc446f84c 100644 --- a/include/sfx2/fcontnr.hxx +++ b/include/sfx2/fcontnr.hxx @@ -48,9 +48,9 @@ class SfxRefItem : public SfxPoolItem public: SfxRefItem( sal_uInt16 nWhichId, const tools::SvRef<SvRefBase>& rValue ) : SfxPoolItem( nWhichId ) { maRef = rValue; } - virtual SfxPoolItem* Clone( SfxItemPool* = 0 ) const SAL_OVERRIDE + virtual SfxPoolItem* Clone( SfxItemPool* = 0 ) const override { return new SfxRefItem( *this ); } - virtual bool operator==( const SfxPoolItem& rL) const SAL_OVERRIDE + virtual bool operator==( const SfxPoolItem& rL) const override { return static_cast<const SfxRefItem&>(rL).maRef == maRef; } }; |