summaryrefslogtreecommitdiff
path: root/svl/source
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 /svl/source
parent99d4b08d05c6edba43675661c70736a2a062af21 (diff)
operator == return type wants to be bool
Change-Id: I7ef0a09b718ca701ed2b6f4a50593f8ef1421dd3
Diffstat (limited to 'svl/source')
-rw-r--r--svl/source/items/macitem.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx
index e36c79df52dc..8f0b66aaceed 100644
--- a/svl/source/items/macitem.cxx
+++ b/svl/source/items/macitem.cxx
@@ -77,11 +77,11 @@ SvxMacroTableDtor& SvxMacroTableDtor::operator=( const SvxMacroTableDtor& rTbl )
return *this;
}
-int SvxMacroTableDtor::operator==( const SvxMacroTableDtor& rOther ) const
+bool SvxMacroTableDtor::operator==( const SvxMacroTableDtor& rOther ) const
{
// Count different => odd in any case
if ( aSvxMacroTable.size() != rOther.aSvxMacroTable.size() )
- return sal_False;
+ return false;
// Compare single ones; the sequence matters due to performance reasons
SvxMacroTable::const_iterator it1 = aSvxMacroTable.begin();
@@ -93,10 +93,10 @@ int SvxMacroTableDtor::operator==( const SvxMacroTableDtor& rOther ) const
if ( it1->first != it2->first ||
rOwnMac.GetLibName() != rOtherMac.GetLibName() ||
rOwnMac.GetMacName() != rOtherMac.GetMacName() )
- return sal_False;
+ return false;
}
- return sal_True;
+ return true;
}
SvStream& SvxMacroTableDtor::Read( SvStream& rStrm, sal_uInt16 nVersion )