[Libreoffice-commits] .: sal/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Sep 11 05:55:38 PDT 2012
sal/qa/rtl/uri/rtl_Uri.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1c5e30cb710f1aa6d27ee090c5b19a937d484b67
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Tue Sep 11 14:53:46 2012 +0200
no ascii >127 chars in string literals
Change-Id: Icf7fadc27823b0cd32795f3ab685602f9ad6c99c
diff --git a/sal/qa/rtl/uri/rtl_Uri.cxx b/sal/qa/rtl/uri/rtl_Uri.cxx
index 486974e..7358099 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);
More information about the Libreoffice-commits
mailing list