https://bugs.freedesktop.org/show_bug.cgi?id=39484
--- Comment #70 from Michael Meeks <[email protected]> --- Not that it's news but this: void ScUndoPaste::DoChange(bool bUndo) ... for (size_t i = 0, n = maBlockRanges.size(); i < n; ++i) { ScRange aRange = *maBlockRanges[i]; ScMarkData::iterator itr = aMarkData.begin(), itrEnd = aMarkData.end(); for (; itr != itrEnd && *itr < nTabCount; ++itr) { aRange.aStart.SetTab(*itr); aRange.aEnd.SetTab(*itr); ** pUndoDoc->UndoToDocument(aRange, nUndoFlags, false, pDoc); } } line - when uncommented avoids the issue occuring; I guess that's the core of Undoing pastes though ;-) Interestingly though, the *itr is 4 for this - and the inner loop only occurs once; 4 seems a plausible value for nTab called '1' which I'm editing; which looks correct. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
