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

Kohei Yoshida kohei.yoshida at collabora.com
Tue May 6 21:39:54 PDT 2014


 sc/source/ui/docshell/docfunc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6cc92a2fead337eef3d9cc3e5818cfcc505e4651
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Wed May 7 00:34:06 2014 -0400

    fdo#77944: No need to store updated formulas in undo document when moving.
    
    This causes crash with dbgutil build, and I'm sure would cause issues with the
    release build as well.
    
    We now use broadcasting to handle reference update during undo of block move,
    so this old way of handling undo for block move is redundant and obviously
    causes issues.
    
    Change-Id: I9dcbb9d9e3808da3f8510eab16ad21b626f881d9

diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index b57fc91..b67ef09 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -2726,7 +2726,7 @@ bool ScDocFunc::MoveBlock( const ScRange& rSource, const ScAddress& rDestPos,
         ScDrawLayer::MoveCells() which may move away inserted objects to wrong
         positions (e.g. if source and destination range overlaps).*/
     pDoc->CopyFromClip( aPasteDest, aDestMark, IDF_ALL & ~(IDF_OBJECTS),
-                        pRefUndoDoc, pClipDoc, true, false, bIncludeFiltered );
+                        NULL, pClipDoc, true, false, bIncludeFiltered );
 
 
     // skipped rows and merged cells don't mix


More information about the Libreoffice-commits mailing list