summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/swcont.hxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-11-09 01:24:54 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-11-16 16:52:45 +0100
commit4bdae9c9fb5c126245feb1b1fe8d3d7833fdeb00 (patch)
treea55bd38419d01416880cec270c0b6f3825148488 /sw/source/uibase/inc/swcont.hxx
parent1e61a6eaa7c31344c2eab1882acb2dff7b6cfea3 (diff)
Let operator== return bool
Change-Id: I86d9f131ed48067984cee3fce13d48c82e7f4775
Diffstat (limited to 'sw/source/uibase/inc/swcont.hxx')
-rw-r--r--sw/source/uibase/inc/swcont.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/swcont.hxx b/sw/source/uibase/inc/swcont.hxx
index ef9b6871a3ff..219a60570f76 100644
--- a/sw/source/uibase/inc/swcont.hxx
+++ b/sw/source/uibase/inc/swcont.hxx
@@ -75,10 +75,10 @@ public:
virtual bool IsProtect() const;
const SwContentType* GetParent() const {return pParent;}
const OUString& GetName() const {return sContentName;}
- int operator==(const SwContent& /*rCont*/) const
+ bool operator==(const SwContent& /*rCont*/) const
{
// they're never equal, otherwise they'd fall out of the array
- return sal_False;
+ return false;
}
bool operator<(const SwContent& rCont) const
{