summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-25 16:42:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-25 16:42:23 +0100
commit1800862c700428e74aa500c9dee41237b8991932 (patch)
tree8d1019148d5c4a565fec82d73a2e773dd3fc9883 /sal
parentb33b441341abcdaa6e208bee7f0af528620055c5 (diff)
loplugin:stringconstant: look into 'char const * const var = "..."'
Change-Id: I52a97b8ec273509131c2200e47527221cb62d7ee
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/rtl/strings/test_oustring_compare.cxx6
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 d500e5cce700..5a0b2cbe0e23 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* const abc = "abc";
- const char* const abcd = "abcd";
- const char* const empty = "";
+ const char* abc = "abc";
+ const char* abcd = "abcd";
+ const char* empty = "";
CPPUNIT_ASSERT(!rtl::OUString().equalsIgnoreAsciiCaseAscii(abc));
CPPUNIT_ASSERT(!rtl::OUString().equalsIgnoreAsciiCaseAsciiL(abc,3));
CPPUNIT_ASSERT(!rtl::OUString("abc").