sc/source/core/data/formulacell.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 2d041ee46f68caf9760575d971127c27e279d2ef Author: Eike Rathke <er...@redhat.com> Date: Fri Jan 24 01:50:15 2014 +0100 PostponedDirty also for RelName ... so HasRelNameReference() doesn't need to be checked again in SetDirtyIfPostponed() if already encountered. Change-Id: I79c6100fbf797d15031d52f402069c977c834f09 diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index 435ff6f..d7384b9 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -2515,7 +2515,6 @@ bool ScFormulaCell::UpdateReferenceOnShift( // Cell may reference itself, e.g. ocColumn, ocRow without parameter bOnRefMove = (bValChanged || (aPos != aOldPos)); - bool bHasRelName = false; bool bNewListening = false; bool bInDeleteUndo = false; @@ -2530,7 +2529,7 @@ bool ScFormulaCell::UpdateReferenceOnShift( bInDeleteUndo = (pChangeTrack && pChangeTrack->IsInDeleteUndo()); // RelNameRefs are always moved - bHasRelName = HasRelNameReference(); + bool bHasRelName = HasRelNameReference(); // Reference changed and new listening needed? // Except in Insert/Delete without specialties. bNewListening = (bRefModified || bRecompile @@ -2566,7 +2565,7 @@ bool ScFormulaCell::UpdateReferenceOnShift( } } - if (bNeedDirty && !bHasRelName) + if (bNeedDirty) { // Cut off references, invalid or similar? // Postpone SetDirty() until all listeners have been re-established in // Inserts/Deletes. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits