summaryrefslogtreecommitdiff
path: root/sc/source/core/data/formulacell.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-28 15:34:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-28 15:35:53 +0000
commit0c8c30a95e740de1bcc9b76ff4f0149bbcc1fcaa (patch)
tree4ec0117c2ae9debc67de623c25f3f309dbadc38b /sc/source/core/data/formulacell.cxx
parent11676ac765e055d81dabe367fb502080496eb6cc (diff)
bRefSizeChanged is always false
Change-Id: I2f27e55a11f972374e7ef0d007a69f3cfb92a7bb
Diffstat (limited to 'sc/source/core/data/formulacell.cxx')
-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 b29808ac2923..e7d566aaf85f 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -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);