diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 12:05:53 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 12:05:53 +0000 |
commit | 6e159c93f7c8a50246109d87f0ad0bb88b98a40b (patch) | |
tree | 990c76bb7f5829964703629926a5178731374f21 /forms | |
parent | 3b75eb2cfd41cf98fd8f85cd1d6918429c501ad3 (diff) |
INTEGRATION: CWS warnings01 (1.3.68); FILE MERGED
2006/03/15 07:55:47 fs 1.3.68.2: #i57457# warning-free code (unxsols4)
2006/03/14 15:20:36 fs 1.3.68.1: #i57457# warning-free code
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/xforms/submission/serialization_urlencoded.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/forms/source/xforms/submission/serialization_urlencoded.cxx b/forms/source/xforms/submission/serialization_urlencoded.cxx index 55a6fa643639..f45555a82c8c 100644 --- a/forms/source/xforms/submission/serialization_urlencoded.cxx +++ b/forms/source/xforms/submission/serialization_urlencoded.cxx @@ -4,9 +4,9 @@ * * $RCSfile: serialization_urlencoded.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-08 23:25:00 $ + * last change: $Author: hr $ $Date: 2006-06-19 13:05:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -86,15 +86,14 @@ sal_Bool CSerializationURLEncoded::is_unreserved(sal_Char c) case '(': case ')': return sal_True; - break; } return sal_False; } void CSerializationURLEncoded::encode_and_append(const OUString& aString, OStringBuffer& aBuffer) { OString utf8String = OUStringToOString(aString, RTL_TEXTENCODING_UTF8); - const sal_Char *pString = utf8String.getStr(); - sal_Char tmpChar[3]; + const sal_uInt8 *pString = reinterpret_cast< const sal_uInt8 * >( utf8String.getStr() ); + sal_Char tmpChar[4]; tmpChar[3] = 0; while( *pString != 0) { |