diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-08-16 03:07:07 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-08-16 03:16:27 +0200 |
commit | 8c9014cc6e5a502f5719f17c111c29448d4d6f6b (patch) | |
tree | 082f7fded3afecdba9ec2c222d5a31e02b903b8a | |
parent | 0771823d80abadf8e7f2ccc078f3f9e2c277f8a5 (diff) |
copy conditional formatting for single cells, fdo#82503
Change-Id: I22f239fbbbfa3ac562b860efb990dff10d0e0e24
-rw-r--r-- | sc/source/core/data/document10.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/core/data/document10.cxx b/sc/source/core/data/document10.cxx index 49db92e81787..983e794ac05c 100644 --- a/sc/source/core/data/document10.cxx +++ b/sc/source/core/data/document10.cxx @@ -203,7 +203,12 @@ bool ScDocument::CopyOneCellFromClip( SCTAB nTabEnd = rCxt.getTabEnd(); for (SCTAB i = rCxt.getTabStart(); i <= nTabEnd && i < static_cast<SCTAB>(maTabs.size()); ++i) + { maTabs[i]->CopyOneCellFromClip(rCxt, nCol1, nRow1, nCol2, nRow2); + if (rCxt.getInsertFlag() & IDF_ATTRIB) + maTabs[i]->CopyConditionalFormat(nCol1, nRow1, nCol2, nRow2, nCol1 - aClipRange.aStart.Col(), + nRow1 - aClipRange.aStart.Row(), pSrcTab); + } return true; } |