diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-02 11:06:01 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-01-06 21:56:21 +0100 |
commit | 1fa51103a1ea4034af6c746b34eeeddd39f7ab4f (patch) | |
tree | 3cdaaba87f59e7c895c6c648513036715f0acb53 /sw | |
parent | c5ba76147442a5ce3ce2dd69966be7550483fdc9 (diff) |
CppunitTest_sw_ww8export: use SAL_NEWLINE_STRING
This makes CppunitTest_sw_ww8export pass on Windows again.
Change-Id: I16fed4eabbe7b9ccdcc0c71361b85b0e13f2245a
(cherry picked from commit 4d3b725000e537ce6199f0abd1c80580c9bf95c8)
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ww8export/ww8export.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/ww8export/ww8export.cxx b/sw/qa/extras/ww8export/ww8export.cxx index 357b06a92f99..e03c3cc6f432 100644 --- a/sw/qa/extras/ww8export/ww8export.cxx +++ b/sw/qa/extras/ww8export/ww8export.cxx @@ -449,7 +449,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(); |