diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-28 22:47:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-29 11:44:44 +0000 |
commit | bdd60f1f5e0b995572321fd0865ccb8849d8ed76 (patch) | |
tree | 36fd199eded442f12c223a6b9830e5202c85855c /comphelper/qa | |
parent | 2c10714426cc813c36aa82e4870b7b51c5c03050 (diff) |
Adapt loplugin:stringconstant to improved OUStringLiteral1
Change-Id: Ibc5128df8bcf8cb5f2f09551c0de6dfdb46bdee0
Reviewed-on: https://gerrit.libreoffice.org/28447
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'comphelper/qa')
-rw-r--r-- | comphelper/qa/string/test_string.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/qa/string/test_string.cxx b/comphelper/qa/string/test_string.cxx index 94349ba904c5..b9650a3a199f 100644 --- a/comphelper/qa/string/test_string.cxx +++ b/comphelper/qa/string/test_string.cxx @@ -62,7 +62,7 @@ void TestString::testDecimalStringToNumber() { OUString s1("1234"); CPPUNIT_ASSERT_EQUAL((sal_uInt32)1234, comphelper::string::decimalStringToNumber(s1)); - s1 += OUString(static_cast<sal_Unicode>(0x07C6)); + s1 += OUStringLiteral1<0x07C6>(); CPPUNIT_ASSERT_EQUAL((sal_uInt32)12346, comphelper::string::decimalStringToNumber(s1)); // Codepoints on 2 16bits words sal_uInt32 utf16String[] = { 0x1D7FE /* 8 */, 0x1D7F7 /* 1 */}; |