sw/source/core/unocore/unoportenum.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 64543ae92883438e3b7ec28f421269ff850b2e09 Author: Stephan Bergmann <sberg...@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 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits