diff options
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ww8export/ww8export.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ww8export/ww8export.cxx b/sw/qa/extras/ww8export/ww8export.cxx index 3a50b3ea953a..2347fdc297c0 100644 --- a/sw/qa/extras/ww8export/ww8export.cxx +++ b/sw/qa/extras/ww8export/ww8export.cxx @@ -508,12 +508,12 @@ DECLARE_WW8EXPORT_TEST(testCommentExport, "comment-export.odt") uno::Reference<beans::XPropertySet> xPropertySet(xRun, uno::UNO_QUERY); CPPUNIT_ASSERT_EQUAL(sKind, getProperty<OUString>(xPropertySet, "TextPortionType")); - if (sKind == OUString("Text")) + if (sKind == "Text") { // Check if textportion has the correct text CPPUNIT_ASSERT_EQUAL(aTextPortions[i].sText, xRun->getString()); } - else if (sKind == OUString("Annotation")) + else if (sKind == "Annotation") { // Check if the comment text is correct and save the name of the comment uno::Reference<beans::XPropertySet> xComment(getProperty< uno::Reference<beans::XPropertySet> >(xRun, "TextField"), uno::UNO_QUERY); |