summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-09-25 05:56:41 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-09-25 05:57:24 +0200
commit67daa5e37227089e3525b9318b13b56714f5fd54 (patch)
treeeeb6563bbec295e3d1dbc68bd7ea029c88d7cff1 /sc
parent21ab2c6d992ff555bbcd2e03add21a743348659b (diff)
this operator can be const
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/conditio.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index ae7bcb932ac1..b9b24c44060e 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;