summaryrefslogtreecommitdiff
path: root/sc/qa/unit/ucalc_condformat.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/unit/ucalc_condformat.cxx')
-rw-r--r--sc/qa/unit/ucalc_condformat.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/qa/unit/ucalc_condformat.cxx b/sc/qa/unit/ucalc_condformat.cxx
index 93ce111cefd6..66f9a1254dc2 100644
--- a/sc/qa/unit/ucalc_condformat.cxx
+++ b/sc/qa/unit/ucalc_condformat.cxx
@@ -317,7 +317,7 @@ void Test::testCondCopyPasteSingleCell()
copyToClip(m_pDoc, ScRange(0,0,0,0,0,0), &aClipDoc);
ScRange aTargetRange(4,4,0,4,4,0);
- pasteFromClip(m_pDoc, aTargetRange, &aClipDoc);
+ pasteOneCellFromClip(m_pDoc, aTargetRange, &aClipDoc);
ScConditionalFormat* pPastedFormat = m_pDoc->GetCondFormat(4,4,0);
CPPUNIT_ASSERT(pPastedFormat);
@@ -349,9 +349,8 @@ void Test::testCondCopyPasteSingleCellToRange()
ScDocument aClipDoc(SCDOCMODE_CLIP);
copyToClip(m_pDoc, ScRange(0,0,0,0,0,0), &aClipDoc);
-
ScRange aTargetRange(4,4,0,5,8,0);
- pasteFromClip(m_pDoc, aTargetRange, &aClipDoc);
+ pasteOneCellFromClip(m_pDoc, aTargetRange, &aClipDoc);
std::set<sal_uLong> aCondFormatIndices;
for(SCROW nRow = 4; nRow <= 8; ++nRow)