coverity#1078506 troubling Logically dead code
Change-Id: I9687ab7340e9c9ab45ff4dd27eb53e671492e7b5
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user