diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-30 21:14:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-05-01 12:11:19 +0100 |
commit | 1b8c1ffe8c65d1eac1f50f6c9e66d5a89dade169 (patch) | |
tree | 22503614b9c85a41e6d48b77db959cb7c30ee5c3 | |
parent | 291245882bb7a675b9f8514f4655b6a8639a2fab (diff) |
make these operators well-formed
Change-Id: Ic1a2dad00b7f62e4df380fdef8b271fa94de8558
-rw-r--r-- | sw/source/ui/dialog/uiregionsw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx index caa4958388f7..746cc9df5231 100644 --- a/sw/source/ui/dialog/uiregionsw.cxx +++ b/sw/source/ui/dialog/uiregionsw.cxx @@ -180,10 +180,10 @@ private: public: SectRepr(sal_uInt16 nPos, SwSection& rSect); - bool operator==(SectRepr& rSectRef) const + bool operator==(const SectRepr& rSectRef) const { return m_nArrPos == rSectRef.GetArrPos(); } - bool operator< (SectRepr& rSectRef) const + bool operator< (const SectRepr& rSectRef) const { return m_nArrPos < rSectRef.GetArrPos(); } SwSectionData & GetSectionData() { return m_SectionData; } |