From 11676ac765e055d81dabe367fb502080496eb6cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 28 Mar 2014 15:18:54 +0000 Subject: [PATCH] coverity#1078506 troubling Logically dead code Change-Id: I9687ab7340e9c9ab45ff4dd27eb53e671492e7b5 --- 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 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))