summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/formulacell.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index b4b3ddf40052..b29808ac2923 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -2827,7 +2827,6 @@ bool ScFormulaCell::UpdateReferenceOnMove(
bool bValChanged = false;
bool bRefModified = false;
- bool bRefSizeChanged = false;
if (bHasRefs)
{
@@ -2877,7 +2876,7 @@ bool ScFormulaCell::UpdateReferenceOnMove(
bool bNeedDirty = false;
// NeedDirty for changes except for Copy and Move/Insert without RelNames
if ( bRefModified || bColRowNameCompile ||
- (bValChanged && bHasRelName && (bHasRelName || bInDeleteUndo || bRefSizeChanged)) || bOnRefMove)
+ (bValChanged && bHasRelName ) || bOnRefMove)
bNeedDirty = true;
if (pUndoDoc && (bValChanged || bOnRefMove))