summaryrefslogtreecommitdiff
path: root/sw/inc/edglbldc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/edglbldc.hxx')
-rw-r--r--sw/inc/edglbldc.hxx4
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(); }
};