diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-10 08:11:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-10 08:11:10 +0100 |
commit | 1bd9765a0b80b84ca4cd60a5ff32f05653411fa1 (patch) | |
tree | 04503b7eb7e8a0afdf51200baffa72b16db15c5a /sal/qa | |
parent | New loplugin:conststringvar: sax (diff) | |
download | core-1bd9765a0b80b84ca4cd60a5ff32f05653411fa1.tar.gz core-1bd9765a0b80b84ca4cd60a5ff32f05653411fa1.zip |
New loplugin:conststringvar: sal
Change-Id: Ia66415ff9ee67958e84cfff7eda082cdbfc9b9b9
Diffstat (limited to 'sal/qa')
-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 5a0b2cbe0e23..d500e5cce700 100644 --- a/sal/qa/rtl/strings/test_oustring_compare.cxx +++ b/sal/qa/rtl/strings/test_oustring_compare.cxx @@ -45,9 +45,9 @@ CPPUNIT_TEST_SUITE_REGISTRATION(test::oustring::Compare); void test::oustring::Compare::equalsIgnoreAsciiCaseAscii() { - const char* abc = "abc"; - const char* abcd = "abcd"; - const char* empty = ""; + const char* const abc = "abc"; + const char* const abcd = "abcd"; + const char* const empty = ""; CPPUNIT_ASSERT(!rtl::OUString().equalsIgnoreAsciiCaseAscii(abc)); CPPUNIT_ASSERT(!rtl::OUString().equalsIgnoreAsciiCaseAsciiL(abc,3)); CPPUNIT_ASSERT(!rtl::OUString("abc"). |