diff options
author | Eike Rathke <erack@redhat.com> | 2015-10-22 18:19:23 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-10-22 18:43:06 +0200 |
commit | 8e49a523c932936c1e38e0d26e5946619c2ed321 (patch) | |
tree | fa1780d5cda6091fe26a553b3afd3cecf5b4cea5 /sc/qa | |
parent | 5318e608cdcc05c09ae0abebc17d6666322248b7 (diff) |
be precise in what area to insert the matrix formula
Change-Id: If41b7af52d506464aef32bfddd11de8e3f44ed32
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/ucalc_formula.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index fda104e912dc..52e1cb332f88 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -3825,7 +3825,7 @@ void Test::testFuncIFERROR() const SCROW nElems2 = SAL_N_ELEMENTS(aCheck2); const SCCOL nStartCol = aPos.Col() + nCols; const SCROW nStartRow = aPos.Row() + nElems2; - m_pDoc->InsertMatrixFormula( nStartCol, nStartRow, nStartCol+nCols, nStartRow+nElems2, aMark, + m_pDoc->InsertMatrixFormula( nStartCol, nStartRow, nStartCol+nCols-1, nStartRow+nElems2-1, aMark, "=IFERROR(C1:E3;\"Error\")", NULL); m_pDoc->CalcAll(); |