[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Fri Jan 20 22:15:02 UTC 2017
sw/source/core/unocore/unoportenum.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 64543ae92883438e3b7ec28f421269ff850b2e09
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 20 23:14:37 2017 +0100
Missing 'const'
Change-Id: I2110b932f5e27141f137fecf5c2ff8a7f9665bf6
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index ff156d2..dad7aae 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 );
}
More information about the Libreoffice-commits
mailing list