sc/qa/unit/ucalc_formula.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8e49a523c932936c1e38e0d26e5946619c2ed321
Author: Eike Rathke <er...@redhat.com>
Date:   Thu Oct 22 18:19:23 2015 +0200

    be precise in what area to insert the matrix formula
    
    Change-Id: If41b7af52d506464aef32bfddd11de8e3f44ed32

diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index fda104e..52e1cb3 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();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to