Kaydet (Commit) 4bdae9c9 authored tarafından Matteo Casalin's avatar Matteo Casalin

Let operator== return bool

Change-Id: I86d9f131ed48067984cee3fce13d48c82e7f4775
üst 1e61a6ea
...@@ -75,10 +75,10 @@ public: ...@@ -75,10 +75,10 @@ public:
virtual bool IsProtect() const; virtual bool IsProtect() const;
const SwContentType* GetParent() const {return pParent;} const SwContentType* GetParent() const {return pParent;}
const OUString& GetName() const {return sContentName;} 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 // they're never equal, otherwise they'd fall out of the array
return sal_False; return false;
} }
bool operator<(const SwContent& rCont) const bool operator<(const SwContent& rCont) const
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment