summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-12-02 16:30:10 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-12-02 16:31:53 -0500
commit624d5485a99d049541a630482eef6e67fb9d0180 (patch)
treedfda0cc076077b5886c4506a7264240de77fba52 /sc
parent6060ced6a929a9f425a3606c52564e9c63c35d6d (diff)
Put this inside the bulk broadcast scope.
Because setting formula cell dirty may indirectly trigger area broadcast. Change-Id: Id8b500c659119df3637ca9a27481267c140e49d3 (cherry picked from commit 672484e615434f7133cc838442962f5abf1ad225)
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 820870bf4242..7485831d61bc 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -2848,10 +2848,10 @@ void ScDocument::CopyFromClip( const ScRange& rDestRange, const ScMarkData& rMar
// 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);
{
ScBulkBroadcast aBulkBroadcast( GetBASM());
+ SetDirtyFromClip(nAllCol1, nAllRow1, nAllCol2, nAllRow2, rMark, nInsFlag, aBroadcastSpans);
BroadcastAction aAction(*this);
aBroadcastSpans.executeColumnAction(*this, aAction);
}