sc/source/core/data/cell2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 308b7a287d0962ad593c9bac8e5b8b474cc36216 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Wed Oct 19 00:31:51 2011 +0200 by one error in ScFormulaCell::UpdateDeleteTab (fdo#41868) diff --git a/sc/source/core/data/cell2.cxx b/sc/source/core/data/cell2.cxx index afbba01..c220062 100644 --- a/sc/source/core/data/cell2.cxx +++ b/sc/source/core/data/cell2.cxx @@ -1185,7 +1185,7 @@ void ScFormulaCell::UpdateInsertTab(SCTAB nTable, SCTAB nNewSheets) bool ScFormulaCell::UpdateDeleteTab(SCTAB nTable, bool bIsMove, SCTAB nSheets) { bool bRefChanged = false; - bool bPosChanged = ( aPos.Tab() > nTable + nSheets ? true : false ); + bool bPosChanged = ( aPos.Tab() >= nTable + nSheets ? true : false ); pCode->Reset(); if( pCode->GetNextReferenceRPN() && !pDocument->IsClipOrUndo() ) { _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits