[Libreoffice-commits] core.git: sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Tue Dec 2 13:36:47 PST 2014


 sc/source/core/data/document.cxx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 93b809d4c4151a02404308a20ecb20f1d6378e0a
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Tue Dec 2 16:35:06 2014 -0500

    Let's not forget to move the comment too.
    
    Change-Id: I86f2107860cf7e014277abdc14307c444142fea6

diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 7485831..3f5ff33 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);
     }


More information about the Libreoffice-commits mailing list