[Libreoffice-commits] .: sc/inc
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Sep 24 20:58:29 PDT 2012
sc/inc/conditio.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 67daa5e37227089e3525b9318b13b56714f5fd54
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Tue Sep 25 05:56:41 2012 +0200
this operator can be const
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index ae7bcb9..b9b24c4 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -134,7 +134,7 @@ protected:
class approx_less : public std::binary_function<double, double, bool>
{
public:
- bool operator() (double nVal1, double nVal2)
+ bool operator() (double nVal1, double nVal2) const
{
if(nVal1 < nVal2 && !rtl::math::approxEqual(nVal1, nVal2))
return true;
More information about the Libreoffice-commits
mailing list