summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/unocore/unoportenum.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index ff156d2fbd34..dad7aae424dc 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -253,6 +253,7 @@ namespace
{
bool operator () ( const SwAnnotationStartPortion_ImplSharedPtr &r1,
const SwAnnotationStartPortion_ImplSharedPtr &r2 )
+ const
{
return r1->maPosition < r2->maPosition;
}
@@ -696,7 +697,7 @@ struct RedlineCompareStruct
}
bool operator () ( const SwXRedlinePortion_ImplSharedPtr &r1,
- const SwXRedlinePortion_ImplSharedPtr &r2 )
+ const SwXRedlinePortion_ImplSharedPtr &r2 ) const
{
return getPosition ( r1 ) < getPosition ( r2 );
}