diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 12:32:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 12:32:28 +0100 |
commit | f5a3a6e0e641bd0b7fd782fba2d7237ba917db6a (patch) | |
tree | 85575168a130764ed1e3304683276423db458f89 /sal/qa/rtl | |
parent | de7b7e680957c86c1ece9fc9d1d0dd16089f6812 (diff) |
loplugin:stringconstant: elide explicit ctor usage (manually due to macros)
Change-Id: I9d67d5ddb9bf90e1b216a7282774543c9de874c3
Diffstat (limited to 'sal/qa/rtl')
-rw-r--r-- | sal/qa/rtl/strings/test_oustring_compare.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/qa/rtl/strings/test_oustring_compare.cxx b/sal/qa/rtl/strings/test_oustring_compare.cxx index 051d9e7a66b4..4f056e12889d 100644 --- a/sal/qa/rtl/strings/test_oustring_compare.cxx +++ b/sal/qa/rtl/strings/test_oustring_compare.cxx @@ -66,12 +66,12 @@ void test::oustring::Compare::compareToIgnoreAsciiCase() { CPPUNIT_ASSERT_EQUAL( sal_Int32(0), - rtl::OUString("abc").compareToIgnoreAsciiCase(rtl::OUString("ABC"))); + rtl::OUString("abc").compareToIgnoreAsciiCase("ABC")); CPPUNIT_ASSERT( - rtl::OUString("ABC").compareToIgnoreAsciiCase(rtl::OUString("abcdef")) + rtl::OUString("ABC").compareToIgnoreAsciiCase("abcdef") < 0); CPPUNIT_ASSERT( - rtl::OUString("A").compareToIgnoreAsciiCase(rtl::OUString("_")) > 0); + rtl::OUString("A").compareToIgnoreAsciiCase("_") > 0); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |