summaryrefslogtreecommitdiff
path: root/sc/source/core/tool
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool')
-rw-r--r--sc/source/core/tool/scmatrix.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index b111ddf2d652..bf2f1632b6d2 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -1477,7 +1477,7 @@ class CompareMatrixToNumericFunc : std::unary_function<MatrixImplType::element_b
{
double fVal = sc::CompareEmptyToNumericFunc(mfRightValue);
bool bRes = evaluate(fVal, mrComp.meOp);
- maResValues.resize(maResValues.size() + nSize, bRes);
+ maResValues.resize(maResValues.size() + nSize, bRes ? 1.0 : 0.0);
}
public: