diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-10-19 00:31:51 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-10-19 00:34:46 +0200 |
commit | 308b7a287d0962ad593c9bac8e5b8b474cc36216 (patch) | |
tree | a5129f84bba689282531c9e98d60d5b9992baebd /sc | |
parent | 9550bed8aa5378c38837c312a5fbe46dc6f2ea97 (diff) |
by one error in ScFormulaCell::UpdateDeleteTab (fdo#41868)
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/cell2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/cell2.cxx b/sc/source/core/data/cell2.cxx index afbba01096e6..c2200622a53b 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() ) { |