Kaydet (Commit) 6cc92a2f authored tarafından Kohei Yoshida's avatar Kohei Yoshida

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
üst e193aded
...@@ -2726,7 +2726,7 @@ bool ScDocFunc::MoveBlock( const ScRange& rSource, const ScAddress& rDestPos, ...@@ -2726,7 +2726,7 @@ bool ScDocFunc::MoveBlock( const ScRange& rSource, const ScAddress& rDestPos,
ScDrawLayer::MoveCells() which may move away inserted objects to wrong ScDrawLayer::MoveCells() which may move away inserted objects to wrong
positions (e.g. if source and destination range overlaps).*/ positions (e.g. if source and destination range overlaps).*/
pDoc->CopyFromClip( aPasteDest, aDestMark, IDF_ALL & ~(IDF_OBJECTS), 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 // skipped rows and merged cells don't mix
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment