diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:01:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:51 +0100 |
commit | d1043892df97078546bf9c5ac697bcb65b457cc9 (patch) | |
tree | 0219c41b945daaf4ce8e4b6c40b2c2b33a4c9536 /include/editeng/udlnitem.hxx | |
parent | operator ==, != should return bool (diff) | |
download | core-d1043892df97078546bf9c5ac697bcb65b457cc9.tar.gz core-d1043892df97078546bf9c5ac697bcb65b457cc9.zip |
SfxPoolItem::operator ==, != should return bool
...and SfxEnumItemInterface::HasBoolValue, too.
Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
Diffstat (limited to 'include/editeng/udlnitem.hxx')
-rw-r--r-- | include/editeng/udlnitem.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/udlnitem.hxx b/include/editeng/udlnitem.hxx index 1d77351c7907..8b6499758ccd 100644 --- a/include/editeng/udlnitem.hxx +++ b/include/editeng/udlnitem.hxx @@ -57,11 +57,11 @@ public: // MS VC4.0 messes things up void SetValue( sal_uInt16 nNewVal ) {SfxEnumItem::SetValue(nNewVal); } - virtual int HasBoolValue() const; + virtual bool HasBoolValue() const; virtual sal_Bool GetBoolValue() const; virtual void SetBoolValue( sal_Bool bVal ); - virtual int operator==( const SfxPoolItem& ) const; + virtual bool operator==( const SfxPoolItem& ) const; inline SvxTextLineItem& operator=(const SvxTextLineItem& rTextLine) { |