sc/source/core/data/column3.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit dd4534b17f32668100d80819de1a3f31a432feb0 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Nov 28 10:09:23 2014 +0000 test rows for validity Change-Id: I501c1c18df96b5b2ad628e86cfb724a541d5c4b6 (cherry picked from commit 1e514c8da8e37fc3cb26af6ddaf95a3ed8093a41) Reviewed-on: https://gerrit.libreoffice.org/13171 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Eike Rathke <er...@redhat.com> diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index c311e37..146e026 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -101,6 +101,9 @@ struct DirtyCellInterpreter void ScColumn::InterpretDirtyCells( SCROW nRow1, SCROW nRow2 ) { + if (!ValidRow(nRow1) || !ValidRow(nRow2) || nRow1 > nRow2) + return; + DirtyCellInterpreter aFunc; sc::ProcessFormula(maCells.begin(), maCells, nRow1, nRow2, aFunc); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits