diff options
-rw-r--r-- | sc/source/core/data/document.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 7485831d61bc..3f5ff332467d 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -2846,12 +2846,14 @@ void ScDocument::CopyFromClip( const ScRange& rDestRange, const ScMarkData& rMar // Listener aufbauen nachdem alles inserted wurde StartListeningFromClip( nAllCol1, nAllRow1, nAllCol2, nAllRow2, rMark, nInsFlag ); - // Set all formula cells dirty, and collect non-empty non-formula cell - // positions so that we can broadcast on them below. { ScBulkBroadcast aBulkBroadcast( GetBASM()); + + // Set all formula cells dirty, and collect non-empty non-formula cell + // positions so that we can broadcast on them below. SetDirtyFromClip(nAllCol1, nAllRow1, nAllCol2, nAllRow2, rMark, nInsFlag, aBroadcastSpans); + BroadcastAction aAction(*this); aBroadcastSpans.executeColumnAction(*this, aAction); } |