summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-01-02 11:06:01 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-01-02 11:07:07 +0100
commit4d3b725000e537ce6199f0abd1c80580c9bf95c8 (patch)
tree8d733acc44ff9e6dcbaf95c7c586f79ea42ec56a /sw
parent4457453864d54c1b951292709432a9b255161a0d (diff)
CppunitTest_sw_ww8export: use SAL_NEWLINE_STRING
This makes CppunitTest_sw_ww8export pass on Windows again. Change-Id: I16fed4eabbe7b9ccdcc0c71361b85b0e13f2245a
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ww8export/ww8export.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/ww8export/ww8export.cxx b/sw/qa/extras/ww8export/ww8export.cxx
index 11cf7782ffd7..d16d78118c13 100644
--- a/sw/qa/extras/ww8export/ww8export.cxx
+++ b/sw/qa/extras/ww8export/ww8export.cxx
@@ -450,7 +450,7 @@ DECLARE_WW8EXPORT_TEST(testCommentedTable, "commented-table.doc")
uno::Reference<text::XTextContent> xField(xFields->nextElement(), uno::UNO_QUERY);
// After first import, there was an off-by-one during import, so this was "efore.\nA1\nB1\nAfte". (Notice the additional "e" prefix.)
// After export and import, things got worse, this was "\nA1\nB1\nAfte".
- CPPUNIT_ASSERT_EQUAL(OUString("fore.\nA1\nB1\nAfte"), xField->getAnchor()->getString());
+ CPPUNIT_ASSERT_EQUAL(OUString("fore." SAL_NEWLINE_STRING "A1" SAL_NEWLINE_STRING "B1" SAL_NEWLINE_STRING "Afte"), xField->getAnchor()->getString());
}
CPPUNIT_PLUGIN_IMPLEMENT();