Kaydet (Commit) 1c43d48c authored tarafından Caolán McNamara's avatar Caolán McNamara

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
üst 3d2ee524
...@@ -332,13 +332,12 @@ namespace HelperNotifyChanges ...@@ -332,13 +332,12 @@ namespace HelperNotifyChanges
// actual functions // actual functions
// input - undo OK // input - undo OK
void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab, void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab,
const OUString& rString, const OUString& rString,
const EditTextObject* pData ) const EditTextObject* pData )
{ {
ScDocument* pDoc = GetViewData().GetDocument(); ScDocument* pDoc = GetViewData().GetDocument();
ScMarkData& rMark = GetViewData().GetMarkData(); ScMarkData rMark(GetViewData().GetMarkData());
bool bRecord = pDoc->IsUndoEnabled(); bool bRecord = pDoc->IsUndoEnabled();
SCTAB i; SCTAB i;
......
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