summaryrefslogtreecommitdiffstats
path: root/basic/source/sbx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/sbx')
-rw-r--r--basic/source/sbx/sbxdec.cxx4
-rw-r--r--basic/source/sbx/sbxdec.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx
index 8ae493031c0c..cd4566b105b7 100644
--- a/basic/source/sbx/sbxdec.cxx
+++ b/basic/source/sbx/sbxdec.cxx
@@ -127,7 +127,7 @@ bool SbxDecimal::neg()
return bRet;
}
-bool SbxDecimal::isZero()
+bool SbxDecimal::isZero() const
{
SbxDecimal aZeroDec;
aZeroDec.setLong( 0 );
@@ -310,7 +310,7 @@ bool SbxDecimal::neg()
return false;
}
-bool SbxDecimal::isZero()
+bool SbxDecimal::isZero() const
{
return false;
}
diff --git a/basic/source/sbx/sbxdec.hxx b/basic/source/sbx/sbxdec.hxx
index ed054642ded9..cfd2290aa517 100644
--- a/basic/source/sbx/sbxdec.hxx
+++ b/basic/source/sbx/sbxdec.hxx
@@ -93,7 +93,7 @@ public:
bool operator *= ( const SbxDecimal &r );
bool neg();
- bool isZero();
+ bool isZero() const;
// must match the return values of the Microsoft VarDecCmp Automation function
enum class CmpResult { LT, EQ, GT };