summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-24 13:25:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-24 13:25:08 +0100
commitc38ad62b696082f90a3cefd098bed4ff96fcf540 (patch)
tree110001265b7317d46c36a01565eca64889b72792 /sw
parentbd3a84a985c726f59bbb9562cc823bcca836040d (diff)
loplugin:stringconstant
Change-Id: I5fd84f0ab85c94831a9064561423a4634a9ac2ab
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ww8export/ww8export.cxx4
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);