https://bugs.freedesktop.org/show_bug.cgi?id=39484

--- Comment #66 from Michael Meeks <michael.me...@novell.com> ---
I did a bit of work on this; the undo object is ScUndoPaste:

ScUndoPaste::DoChange (this=0xae48eb8, bUndo=true) at
/data/opt/libreoffice/master/sc/source/ui/undo/undoblk.cxx:896

Seems to do some rather odd things - it appears eg. to touch other sheets than
the current one (on which the operation is done) - no idea why:

937            for (size_t i = 0, n = maBlockRanges.size(); i < n; ++i)
938            {
939                ScRange aCopyRange = *maBlockRanges[i];
940                aCopyRange.aStart.SetTab(0);
941                aCopyRange.aEnd.SetTab(nTabCount-1);
942                pDoc->CopyToDocument( aCopyRange, nUndoFlags, false,
pRedoDoc );
943                bRedoFilled = true;

Which of course only fills the redo data - but appears to copy every sheet
rather than the current one [ perhaps that has something to do with it ] -
still thinking ;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to