diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-09-11 14:53:46 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-09-11 14:55:11 +0200 |
commit | 1c5e30cb710f1aa6d27ee090c5b19a937d484b67 (patch) | |
tree | 6b6a3f50d6df86b2c365607f03bd648f0e8b5dab /sal | |
parent | fdo#39625 Make existing cppunittests work (diff) | |
download | core-1c5e30cb710f1aa6d27ee090c5b19a937d484b67.tar.gz core-1c5e30cb710f1aa6d27ee090c5b19a937d484b67.zip |
no ascii >127 chars in string literals
Change-Id: Icf7fadc27823b0cd32795f3ab685602f9ad6c99c
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/uri/rtl_Uri.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/rtl/uri/rtl_Uri.cxx b/sal/qa/rtl/uri/rtl_Uri.cxx index 486974e75fc2..7358099a7bb4 100644 --- a/sal/qa/rtl/uri/rtl_Uri.cxx +++ b/sal/qa/rtl/uri/rtl_Uri.cxx @@ -149,7 +149,7 @@ namespace Stringtest showContent(suStr_UriDecodeToIuri); // string --> ustring - rtl::OString sStr("h\xE4llo"); + rtl::OString sStr("h\xE4llo", strlen("h\xE4llo")); rtl::OUString suString = rtl::OStringToOUString(sStr, RTL_TEXTENCODING_ISO_8859_15); CPPUNIT_ASSERT_MESSAGE("Strings must be equal", suString.equals(suStr_UriDecodeToIuri) == sal_True); |