summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 17:43:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 10:21:09 +0200
commita602a1ce43ea5debf6693d83dd5b164942574969 (patch)
tree114b2014c9cb86f0a9082582d0d049ab37648a9b /editeng
parent99d4b08d05c6edba43675661c70736a2a062af21 (diff)
operator == return type wants to be bool
Change-Id: I7ef0a09b718ca701ed2b6f4a50593f8ef1421dd3
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/numitem.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index be252b460e6e..b3fc0d8511d3 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -740,13 +740,13 @@ SvxNumRule& SvxNumRule::operator=( const SvxNumRule& rCopy )
return *this;
}
-int SvxNumRule::operator==( const SvxNumRule& rCopy) const
+bool SvxNumRule::operator==( const SvxNumRule& rCopy) const
{
if(nLevelCount != rCopy.nLevelCount ||
nFeatureFlags != rCopy.nFeatureFlags ||
bContinuousNumbering != rCopy.bContinuousNumbering ||
eNumberingType != rCopy.eNumberingType)
- return sal_False;
+ return false;
for(sal_uInt16 i = 0; i < nLevelCount; i++)
{
if (
@@ -756,10 +756,10 @@ int SvxNumRule::operator==( const SvxNumRule& rCopy) const
(aFmts[i] && *aFmts[i] != *rCopy.aFmts[i])
)
{
- return sal_False;
+ return false;
}
}
- return sal_True;
+ return true;
}
const SvxNumberFormat* SvxNumRule::Get(sal_uInt16 nLevel)const