Kaydet (Commit) 0c8c30a9 authored tarafından Caolán McNamara's avatar Caolán McNamara

bRefSizeChanged is always false

Change-Id: I2f27e55a11f972374e7ef0d007a69f3cfb92a7bb
üst 11676ac7
...@@ -2703,7 +2703,6 @@ bool ScFormulaCell::UpdateReferenceOnShift( ...@@ -2703,7 +2703,6 @@ bool ScFormulaCell::UpdateReferenceOnShift(
bool bValChanged = false; bool bValChanged = false;
bool bRefModified = false; bool bRefModified = false;
bool bRefSizeChanged = false;
bool bRecompile = bCompile; bool bRecompile = bCompile;
if (bHasRefs) if (bHasRefs)
...@@ -2741,7 +2740,7 @@ bool ScFormulaCell::UpdateReferenceOnShift( ...@@ -2741,7 +2740,7 @@ bool ScFormulaCell::UpdateReferenceOnShift(
// Reference changed and new listening needed? // Reference changed and new listening needed?
// Except in Insert/Delete without specialties. // Except in Insert/Delete without specialties.
bNewListening = (bRefModified || bRecompile bNewListening = (bRefModified || bRecompile
|| (bValChanged && (bInDeleteUndo || bRefSizeChanged)) || bHasRelName); || (bValChanged && bInDeleteUndo) || bHasRelName);
if ( bNewListening ) if ( bNewListening )
EndListeningTo(pDocument, pOldCode.get(), aOldPos); EndListeningTo(pDocument, pOldCode.get(), aOldPos);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment