sc/source/ui/view/viewfunc.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 76358a71a937b5af93e4257c0dd0c1cf0e9b7ab7 Author: Caolán McNamara <caol...@redhat.com> Date: Tue Dec 9 16:03:39 2014 +0000 Resolves: fdo#86786 take of a copy of the MarkData so macros that trigger on changed data don't change invalidate interators into them behind our back Change-Id: Ib7e626b4ec3eea3bd0b1f57f17280a008bb4060e (cherry picked from commit 1c43d48c62db766ffdf23e8f20ed07cbd7a660ee) diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index d9fc03a..ba1d432 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -332,13 +332,12 @@ namespace HelperNotifyChanges // actual functions // input - undo OK - void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab, const OUString& rString, const EditTextObject* pData ) { ScDocument* pDoc = GetViewData().GetDocument(); - ScMarkData& rMark = GetViewData().GetMarkData(); + ScMarkData rMark(GetViewData().GetMarkData()); bool bRecord = pDoc->IsUndoEnabled(); SCTAB i;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits