summaryrefslogtreecommitdiff
path: root/sc/source/core/data
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:36:09 -0500
commit219c42d1236e3ec6c6e01fb1a933343297a3e725 (patch)
treea4a130eae6d62590a95d37521fee2036eecc5615 /sc/source/core/data
parent624d5485a99d049541a630482eef6e67fb9d0180 (diff)
Let's not forget to move the comment too.
Change-Id: I86f2107860cf7e014277abdc14307c444142fea6 (cherry picked from commit 93b809d4c4151a02404308a20ecb20f1d6378e0a)
Diffstat (limited to 'sc/source/core/data')
-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);
}