summaryrefslogtreecommitdiff
path: root/sw/inc/cellatr.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-10 17:01:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-10 17:11:51 +0100
commitd1043892df97078546bf9c5ac697bcb65b457cc9 (patch)
tree0219c41b945daaf4ce8e4b6c40b2c2b33a4c9536 /sw/inc/cellatr.hxx
parent02f72c32cf5e33e28d2b2d63d887c8a429ec2a45 (diff)
SfxPoolItem::operator ==, != should return bool
...and SfxEnumItemInterface::HasBoolValue, too. Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
Diffstat (limited to 'sw/inc/cellatr.hxx')
-rw-r--r--sw/inc/cellatr.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx
index 31eecf5c290d..9407a9475486 100644
--- a/sw/inc/cellatr.hxx
+++ b/sw/inc/cellatr.hxx
@@ -36,7 +36,7 @@ public:
sal_Bool bAuto = sal_False );
// "pure virtual methods" of SfxPoolItem
- virtual int operator==( const SfxPoolItem& ) const;
+ virtual bool operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
inline SwTblBoxNumFormat& operator=( const SwTblBoxNumFormat& rAttr )
@@ -60,7 +60,7 @@ public:
~SwTblBoxFormula() {};
// "pure virtual methods" of SfxPoolItem
- virtual int operator==( const SfxPoolItem& ) const;
+ virtual bool operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
inline const SwModify* GetDefinedIn() const { return pDefinedIn; }
@@ -85,7 +85,7 @@ public:
SwTblBoxValue( const double aVal );
// "pure virtual methods" of SfxPoolItem
- virtual int operator==( const SfxPoolItem& ) const;
+ virtual bool operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
inline SwTblBoxValue& operator=( const SwTblBoxValue& rCmp )