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

Pass multi-ranges to the undo object.

üst 64a36fd4
...@@ -1835,7 +1835,7 @@ bool ScViewFunc::PasteFromClipToMultiRanges( ...@@ -1835,7 +1835,7 @@ bool ScViewFunc::PasteFromClipToMultiRanges(
aOptions.eMoveMode = eMoveMode; aOptions.eMoveMode = eMoveMode;
ScUndoPaste* pUndo = new ScUndoPaste( ScUndoPaste* pUndo = new ScUndoPaste(
pDocSh, aWholeRange, aMark, pUndoDoc.release(), NULL, nFlags|nUndoFlags, NULL, false, &aOptions); pDocSh, aRanges, aMark, pUndoDoc.release(), NULL, nFlags|nUndoFlags, NULL, false, &aOptions);
pUndoMgr->AddUndoAction(pUndo, false); pUndoMgr->AddUndoAction(pUndo, false);
pUndoMgr->LeaveListAction(); pUndoMgr->LeaveListAction();
......
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