Kaydet (Commit) 1e4fc94c authored tarafından Markus Mohrhard's avatar Markus Mohrhard

we need to copy the condition format cell for cell, fdo#86253

Change-Id: Ic090e1b9d13780e7e895a85901d3329cc5703688
üst 30ee3647
...@@ -115,8 +115,11 @@ bool ScDocument::CopyOneCellFromClip( ...@@ -115,8 +115,11 @@ bool ScDocument::CopyOneCellFromClip(
{ {
maTabs[i]->CopyOneCellFromClip(rCxt, nCol1, nRow1, nCol2, nRow2); maTabs[i]->CopyOneCellFromClip(rCxt, nCol1, nRow1, nCol2, nRow2);
if (rCxt.getInsertFlag() & IDF_ATTRIB) if (rCxt.getInsertFlag() & IDF_ATTRIB)
maTabs[i]->CopyConditionalFormat(nCol1, nRow1, nCol2, nRow2, nCol1 - aClipRange.aStart.Col(), for (SCROW nRow = nRow1; nRow <= nRow2; ++nRow)
nRow1 - aClipRange.aStart.Row(), pSrcTab); {
maTabs[i]->CopyConditionalFormat(nCol1, nRow, nCol2, nRow, nCol1 - aClipRange.aStart.Col(),
nRow - aClipRange.aStart.Row(), pSrcTab);
}
} }
return true; return true;
......
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