Kaydet (Commit) 4d3b7250 authored tarafından Miklos Vajna's avatar Miklos Vajna

CppunitTest_sw_ww8export: use SAL_NEWLINE_STRING

This makes CppunitTest_sw_ww8export pass on Windows again.

Change-Id: I16fed4eabbe7b9ccdcc0c71361b85b0e13f2245a
üst 44574538
...@@ -450,7 +450,7 @@ DECLARE_WW8EXPORT_TEST(testCommentedTable, "commented-table.doc") ...@@ -450,7 +450,7 @@ DECLARE_WW8EXPORT_TEST(testCommentedTable, "commented-table.doc")
uno::Reference<text::XTextContent> xField(xFields->nextElement(), uno::UNO_QUERY); 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 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". // 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(); CPPUNIT_PLUGIN_IMPLEMENT();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment