diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-20 23:14:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-20 23:14:37 +0100 |
commit | 64543ae92883438e3b7ec28f421269ff850b2e09 (patch) | |
tree | 1ebaf6560c55ae2f8dffb7c7c290ec4060009c1f | |
parent | 8fa02e0b6ad67c34c23e99140c236153eb7e3faf (diff) |
Missing 'const'
Change-Id: I2110b932f5e27141f137fecf5c2ff8a7f9665bf6
-rw-r--r-- | sw/source/core/unocore/unoportenum.cxx | 3 |
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 ); } |