summaryrefslogtreecommitdiff
path: root/forms/source
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source')
-rw-r--r--forms/source/xforms/submission/serialization_urlencoded.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/submission/serialization_urlencoded.cxx b/forms/source/xforms/submission/serialization_urlencoded.cxx
index 0e96edfb643c..626569aec2aa 100644
--- a/forms/source/xforms/submission/serialization_urlencoded.cxx
+++ b/forms/source/xforms/submission/serialization_urlencoded.cxx
@@ -80,7 +80,7 @@ void CSerializationURLEncoded::encode_and_append(const OUString& aString, OStri
if( *pString < 0x80 )
{
if ( is_unreserved(*pString) ) {
- aBuffer.append(*pString);
+ aBuffer.append(char(*pString));
} else if (*pString == 0x20) {
aBuffer.append('+');
} else if (*pString == 0x0d && *(pString+1) == 0x0a) {