bRefSizeChanged is always false

Change-Id: I2f27e55a11f972374e7ef0d007a69f3cfb92a7bb
This commit is contained in:
Caolán McNamara
2014-03-28 15:34:57 +00:00
parent 11676ac765
commit 0c8c30a95e

View File

@@ -2703,7 +2703,6 @@ bool ScFormulaCell::UpdateReferenceOnShift(
bool bValChanged = false;
bool bRefModified = false;
bool bRefSizeChanged = false;
bool bRecompile = bCompile;
if (bHasRefs)
@@ -2741,7 +2740,7 @@ bool ScFormulaCell::UpdateReferenceOnShift(
// Reference changed and new listening needed?
// Except in Insert/Delete without specialties.
bNewListening = (bRefModified || bRecompile
|| (bValChanged && (bInDeleteUndo || bRefSizeChanged)) || bHasRelName);
|| (bValChanged && bInDeleteUndo) || bHasRelName);
if ( bNewListening )
EndListeningTo(pDocument, pOldCode.get(), aOldPos);