From d1043892df97078546bf9c5ac697bcb65b457cc9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 10 Jan 2014 17:01:52 +0100 Subject: SfxPoolItem::operator ==, != should return bool ...and SfxEnumItemInterface::HasBoolValue, too. Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a --- include/svx/chrtitem.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svx/chrtitem.hxx') diff --git a/include/svx/chrtitem.hxx b/include/svx/chrtitem.hxx index 95e8c3a4871b..54c4ab0a5a4e 100644 --- a/include/svx/chrtitem.hxx +++ b/include/svx/chrtitem.hxx @@ -317,7 +317,7 @@ public: SfxMapUnit ePresMetric, OUString &rText, const IntlWrapper * = 0) const; - virtual int operator == (const SfxPoolItem&) const; + virtual bool operator == (const SfxPoolItem&) const; virtual SfxPoolItem* Clone(SfxItemPool *pPool = NULL) const; virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVersion) const; virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const; -- cgit