diff options
authorKohei Yoshida <>2014-05-07 00:34:06 -0400
committerKohei Yoshida <>2014-05-07 00:39:54 -0400
commit6cc92a2fead337eef3d9cc3e5818cfcc505e4651 (patch)
parente193aded369ec3552fd6fa05fdd4db17441d8ba8 (diff)
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
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index b57fc91ce9f6..b67ef09bbfbf 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