[Libreoffice-commits] core.git: sw/qa

Michael Stahl mstahl at redhat.com
Thu Feb 16 22:47:28 UTC 2017


 sw/qa/extras/ww8export/ww8export.cxx |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit d1a8ca4951c076c605a47aadf6bdcac79d2bee8e
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Feb 16 23:39:05 2017 +0100

    sw: use the stupid line-ends for WNT
    
    Change-Id: Ie054d48c7dc9220d25cd9282d1b15a8a695a516f

diff --git a/sw/qa/extras/ww8export/ww8export.cxx b/sw/qa/extras/ww8export/ww8export.cxx
index 1966a6a..14d3020 100644
--- a/sw/qa/extras/ww8export/ww8export.cxx
+++ b/sw/qa/extras/ww8export/ww8export.cxx
@@ -343,13 +343,13 @@ DECLARE_WW8EXPORT_TEST(testHeaderApoTable, "ooo92948-1.doc")
 //    uno::Reference<beans::XPropertySet> xFrame(getParagraphAnchoredObject(1, xPara));
 
     uno::Reference<text::XTextContent> xTable(getParagraphOrTable(1, xFrame));
-    getCell(xTable, "A1", "Aan\nRecipient\nRecipient\n");
-    getCell(xTable, "A2", "Kopie aan\n");
-    getCell(xTable, "A3", "Datum\n31 juli 2008");
-    getCell(xTable, "A4", "Locatie\nLocationr");
-    getCell(xTable, "A5", "Van\nSender  ");
-    getCell(xTable, "A6", "Directie\nDepartment");
-    getCell(xTable, "A7", "Telefoon\nPhone");
+    getCell(xTable, "A1", "Aan" SAL_NEWLINE_STRING "Recipient" SAL_NEWLINE_STRING "Recipient" SAL_NEWLINE_STRING);
+    getCell(xTable, "A2", "Kopie aan" SAL_NEWLINE_STRING);
+    getCell(xTable, "A3", "Datum" SAL_NEWLINE_STRING "31 juli 2008");
+    getCell(xTable, "A4", "Locatie" SAL_NEWLINE_STRING "Locationr");
+    getCell(xTable, "A5", "Van" SAL_NEWLINE_STRING "Sender  ");
+    getCell(xTable, "A6", "Directie" SAL_NEWLINE_STRING "Department");
+    getCell(xTable, "A7", "Telefoon" SAL_NEWLINE_STRING "Phone");
 }
 
 DECLARE_WW8EXPORT_TEST(testBnc821208, "bnc821208.doc")


More information about the Libreoffice-commits mailing list