diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-09-26 22:28:20 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-09-27 00:22:32 +0200 |
commit | c8a5f46b6121106d3efc0a4d45922bf910f6f94c (patch) | |
tree | 2439e5b34772acf3c4ce5140205fe833a57b4f24 /sc/qa/unit/ucalc_condformat.cxx | |
parent | c55873f3e72a05cf94dabd7109c99e4b66c4f5a6 (diff) |
OOPS, we were actually testing the wrong method
Change-Id: I29adf81d3da56d7150e5182025d931ee62598e63
Diffstat (limited to 'sc/qa/unit/ucalc_condformat.cxx')
-rw-r--r-- | sc/qa/unit/ucalc_condformat.cxx | 5 |
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) |