diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-09 16:03:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-09 16:17:52 +0000 |
commit | 1c43d48c62db766ffdf23e8f20ed07cbd7a660ee (patch) | |
tree | d288c013cbb7961971fec582f090356bad7c41d0 | |
parent | 3d2ee524942c063ee13645723bb60db35255e350 (diff) |
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
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index d9fc03a3519f..ba1d4322dd60 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; |