summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-01-04 15:31:18 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-01-07 01:26:17 +0100
commit12e9d6aaf7b228fcec19200ba18a27070617413a (patch)
tree0767f2d4005018d06b935e949a336455f656df2e /sc/qa
parent7921b5931a4a870dcde495255b36f8a312bbf055 (diff)
improve copy/paste between different documents
Absolute sheet refs are transformed to external references pointing to the old document
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/ucalc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 724dcedabdfb..5471c47bfb16 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -2746,8 +2746,8 @@ void Test::testCopyPaste()
//check values after copying
rtl::OUString aString;
m_pDoc->GetValue(1,1,1, aValue);
- CPPUNIT_ASSERT_MESSAGE("copied formula should return 2", aValue == 2);
m_pDoc->GetFormula(1,1,1, aString);
+ CPPUNIT_ASSERT_MESSAGE("copied formula should return 2", aValue == 2);
CPPUNIT_ASSERT_MESSAGE("formula string was not copied correctly", aString == aFormulaString);
m_pDoc->GetValue(0,1,1, aValue);
CPPUNIT_ASSERT_MESSAGE("copied value should be 1", aValue == 1);