summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-12-02 16:35:06 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-12-02 16:35:24 -0500
commit93b809d4c4151a02404308a20ecb20f1d6378e0a (patch)
tree04ef1ad39961a8e2ab786fadaf7aa38f50b99fcc
parent672484e615434f7133cc838442962f5abf1ad225 (diff)
Let's not forget to move the comment too.
Change-Id: I86f2107860cf7e014277abdc14307c444142fea6
-rw-r--r--sc/source/core/data/document.cxx6
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);
}