diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 17:11:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 18:45:16 +0100 |
commit | c963d7e642c24f40c19fb9dc227db5da96728c12 (patch) | |
tree | 81fbcb736dad59a7e0d3bcd8f9e6b84e99bb5607 /sw/inc/edglbldc.hxx | |
parent | bool improvements (diff) | |
download | core-c963d7e642c24f40c19fb9dc227db5da96728c12.tar.gz core-c963d7e642c24f40c19fb9dc227db5da96728c12.zip |
bool improvements
Change-Id: I9324483db587be43238af79c2148d724397a4622
Diffstat (limited to 'sw/inc/edglbldc.hxx')
-rw-r--r-- | sw/inc/edglbldc.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/edglbldc.hxx b/sw/inc/edglbldc.hxx index 16cf557396ee..56ecb9b61b92 100644 --- a/sw/inc/edglbldc.hxx +++ b/sw/inc/edglbldc.hxx @@ -54,9 +54,9 @@ public: sal_uLong GetDocPos() const { return nDocPos; } /// For sorting. - inline int operator==( const SwGlblDocContent& rCmp ) const + inline bool operator==( const SwGlblDocContent& rCmp ) const { return GetDocPos() == rCmp.GetDocPos(); } - inline int operator<( const SwGlblDocContent& rCmp ) const + inline bool operator<( const SwGlblDocContent& rCmp ) const { return GetDocPos() < rCmp.GetDocPos(); } }; |