summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 75ef9f9b82bb..b70ffbd30e4a 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -4563,7 +4563,6 @@ void SwUiWriterTest::testMsWordCompTrailingBlanks()
void SwUiWriterTest::testCreateDocxAnnotation()
{
- if (true) return; // FIXME breaks on Windows
createDoc();
// insert an annotation with a text
@@ -4585,7 +4584,15 @@ void SwUiWriterTest::testCreateDocxAnnotation()
uno::Reference<beans::XPropertySet> xField(xFields->nextElement(), uno::UNO_QUERY);
// this was empty instead of "some text"
- CPPUNIT_ASSERT_EQUAL(aSomeText, xField->getPropertyValue("Content").get<OUString>());
+ OUString aResultText = aSomeText
+#ifdef WNT
+ // FIXME From some unclear reason, on windows we get an additional
+ // paragraph in the comment - please adapt this test when that gets
+ // fixed.
+ + "\n"
+#endif
+ ;
+ CPPUNIT_ASSERT_EQUAL(aResultText, xField->getPropertyValue("Content").get<OUString>());
}
CPPUNIT_TEST_SUITE_REGISTRATION(SwUiWriterTest);