summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-06-15 16:45:32 +0200
committerEike Rathke <erack@redhat.com>2016-06-15 21:06:03 +0200
commitf219bd4c3599e0933760f8a9f0155fc97a9ab23c (patch)
treec43aacd442a9a789883ff1054ddf00d6e2417df6
parent481b8589d135baced12469bec4ee734b23faac21 (diff)
Resolves: tdf#100409 GetDoubleWithStringConversion() in GetDoubleFromMatrix()
Change-Id: I1e88e9fa6361c6f1f2aebebc101d44bc8e974283
-rw-r--r--sc/source/core/tool/interpr4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index f5138bb4ddfa..c773f7bd73a7 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -1989,14 +1989,14 @@ double ScInterpreter::GetDoubleFromMatrix(const ScMatrixRef& pMat)
return 0.0;
if ( !pJumpMatrix )
- return pMat->GetDouble( 0 );
+ return pMat->GetDoubleWithStringConversion( 0, 0);
SCSIZE nCols, nRows, nC, nR;
pMat->GetDimensions( nCols, nRows);
pJumpMatrix->GetPos( nC, nR);
// Use vector replication for single row/column arrays.
if ( (nC < nCols || nCols == 1) && (nR < nRows || nRows == 1) )
- return pMat->GetDouble( nC, nR);
+ return pMat->GetDoubleWithStringConversion( nC, nR);
SetError( errNoValue);
return 0.0;