Kaydet (Commit) 6c8ada4d authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

we need the original context that contains the data, fdo#85856

Change-Id: I107201ab736b548f010d813540e0a9cec7402e79
üst c634ef6d
...@@ -882,9 +882,8 @@ bool ScDocument::CopyTab( SCTAB nOldPos, SCTAB nNewPos, const ScMarkData* pOnlyM ...@@ -882,9 +882,8 @@ bool ScDocument::CopyTab( SCTAB nOldPos, SCTAB nNewPos, const ScMarkData* pOnlyM
aRefCxt.mnTabDelta = nDz; aRefCxt.mnTabDelta = nDz;
maTabs[nNewPos]->UpdateReference(aRefCxt, NULL); maTabs[nNewPos]->UpdateReference(aRefCxt, NULL);
sc::RefUpdateInsertTabContext aInsTabCxt(nNewPos, 1);
maTabs[nNewPos]->UpdateInsertTabAbs(nNewPos); // move all paragraphs up by one!! maTabs[nNewPos]->UpdateInsertTabAbs(nNewPos); // move all paragraphs up by one!!
maTabs[nOldPos]->UpdateInsertTab(aInsTabCxt); maTabs[nOldPos]->UpdateInsertTab(aCxt);
maTabs[nOldPos]->UpdateCompile(); maTabs[nOldPos]->UpdateCompile();
maTabs[nNewPos]->UpdateCompile( true ); // maybe already compiled in Clone, but used names need recompilation maTabs[nNewPos]->UpdateCompile( true ); // maybe already compiled in Clone, but used names need recompilation
......
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