diff options
Diffstat (limited to 'include/sfx2/fcontnr.hxx')
-rw-r--r-- | include/sfx2/fcontnr.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/fcontnr.hxx b/include/sfx2/fcontnr.hxx index 3e8ee6882d6e..ad04fde0b664 100644 --- a/include/sfx2/fcontnr.hxx +++ b/include/sfx2/fcontnr.hxx @@ -51,7 +51,7 @@ class SfxRefItem : public SfxPoolItem public: virtual SfxPoolItem* Clone( SfxItemPool* = 0 ) const { return new SfxRefItem( *this ); } - virtual int operator==( const SfxPoolItem& rL) const + virtual bool operator==( const SfxPoolItem& rL) const { return ((SfxRefItem&)rL).aRef == aRef; } SfxRefItem( sal_uInt16 nWhichId, const SvRefBaseRef& rValue ) : SfxPoolItem( nWhichId ) { aRef = rValue; } |