summaryrefslogtreecommitdiff
path: root/sw/qa/extras/globalfilter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:35:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:34 +0100
commitb1fab4ab325636eacf7c0387d55b6cc184f89c5f (patch)
treeae4fc4883d0106d08384eb9f628b28087babe991 /sw/qa/extras/globalfilter
parente5bd0f8b0a83f5c7f0f204adc081b102c765ca8e (diff)
sw: Use appropriate OUString functions on string constants
Change-Id: I9c3e03324c69beb5af4c43da208086600876f875
Diffstat (limited to 'sw/qa/extras/globalfilter')
-rw-r--r--sw/qa/extras/globalfilter/globalfilter.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/qa/extras/globalfilter/globalfilter.cxx b/sw/qa/extras/globalfilter/globalfilter.cxx
index 49c01f9b879e..a88292ab514c 100644
--- a/sw/qa/extras/globalfilter/globalfilter.cxx
+++ b/sw/qa/extras/globalfilter/globalfilter.cxx
@@ -86,7 +86,7 @@ void Test::testSwappedOutImageExport()
{
OUString sURL;
XPropSet->getPropertyValue("GraphicURL") >>= sURL;
- CPPUNIT_ASSERT_MESSAGE(sFailedMessage.getStr(), sURL != OUString("vnd.sun.star.GraphicObject:00000000000000000000000000000000"));
+ CPPUNIT_ASSERT_MESSAGE(sFailedMessage.getStr(), sURL != "vnd.sun.star.GraphicObject:00000000000000000000000000000000");
}
// Check size
{
@@ -106,7 +106,7 @@ void Test::testSwappedOutImageExport()
OUString sURL;
XPropSet->getPropertyValue("GraphicURL") >>= sURL;
CPPUNIT_ASSERT_MESSAGE(
- sFailedMessage.getStr(), sURL != OUString("vnd.sun.star.GraphicObject:00000000000000000000000000000000"));
+ sFailedMessage.getStr(), sURL != "vnd.sun.star.GraphicObject:00000000000000000000000000000000");
}
// Check size
{
@@ -231,7 +231,7 @@ void Test::testImageWithSpecialID()
{
OUString sURL;
XPropSet->getPropertyValue("GraphicURL") >>= sURL;
- CPPUNIT_ASSERT(sURL != OUString("vnd.sun.star.GraphicObject:00000000000000000000000000000000"));
+ CPPUNIT_ASSERT(sURL != "vnd.sun.star.GraphicObject:00000000000000000000000000000000");
}
// Check size
{
@@ -249,7 +249,7 @@ void Test::testImageWithSpecialID()
{
OUString sURL;
XPropSet->getPropertyValue("GraphicURL") >>= sURL;
- CPPUNIT_ASSERT(sURL != OUString("vnd.sun.star.GraphicObject:00000000000000000000000000000000"));
+ CPPUNIT_ASSERT(sURL != "vnd.sun.star.GraphicObject:00000000000000000000000000000000");
}
// Check size
{
@@ -313,7 +313,7 @@ void Test::testGraphicShape()
{
OUString sURL;
XPropSet->getPropertyValue("GraphicURL") >>= sURL;
- CPPUNIT_ASSERT_MESSAGE(sFailedMessage.getStr(), sURL != OUString("vnd.sun.star.GraphicObject:00000000000000000000000000000000"));
+ CPPUNIT_ASSERT_MESSAGE(sFailedMessage.getStr(), sURL != "vnd.sun.star.GraphicObject:00000000000000000000000000000000");
}
// Check size
{
@@ -326,7 +326,7 @@ void Test::testGraphicShape()
}
// MS filters make this kind of linked images broken !?
- if( OUString::createFromAscii(aFilterNames[nFilter]) != OUString("writer8") )
+ if( OUString::createFromAscii(aFilterNames[nFilter]) != "writer8" )
return;
// Second image is a linked one