summaryrefslogtreecommitdiffstats
path: root/include/editeng/colritem.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 /include/editeng/colritem.hxx
parentoperator ==, != should return bool (diff)
downloadcore-d1043892df97078546bf9c5ac697bcb65b457cc9.tar.gz
core-d1043892df97078546bf9c5ac697bcb65b457cc9.zip
SfxPoolItem::operator ==, != should return bool
...and SfxEnumItemInterface::HasBoolValue, too. Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
Diffstat (limited to 'include/editeng/colritem.hxx')
-rw-r--r--include/editeng/colritem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/colritem.hxx b/include/editeng/colritem.hxx
index 7d7c0238db23..0755f08740ab 100644
--- a/include/editeng/colritem.hxx
+++ b/include/editeng/colritem.hxx
@@ -49,7 +49,7 @@ public:
~SvxColorItem();
// "pure virtual Methods" from SfxPoolItem
- virtual int operator==( const SfxPoolItem& ) const;
+ virtual bool operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual sal_uInt16 GetVersion( sal_uInt16 nFileVersion ) const;