From 0c8c30a95e740de1bcc9b76ff4f0149bbcc1fcaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 28 Mar 2014 15:34:57 +0000 Subject: [PATCH] bRefSizeChanged is always false Change-Id: I2f27e55a11f972374e7ef0d007a69f3cfb92a7bb --- sc/source/core/data/formulacell.cxx | 3 +-- 1 file changed, 1 insertion(+), 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);