summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-10-29 14:19:35 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-10-29 14:20:10 +0400
commitcda6b4e991f45ec870a311ab736038bd93227900 (patch)
treed6dbc46539459793419df53f2c87bee7dfc78dd1 /tools
parent12f7e27917cb014dd78e87c38e9698aa5c148114 (diff)
fdo#56366: INetURLObject::decode: do not clip utf-32 to 16-bit
Change-Id: Iaedc9f5b9f25f43b8b8deaf28129423abbb91672
Diffstat (limited to 'tools')
-rw-r--r--tools/source/fsys/urlobj.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index 428d4e078e60..cc33f310b60e 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -3702,7 +3702,7 @@ rtl::OUString INetURLObject::decode(sal_Unicode const * pBegin,
switch (eEscapeType)
{
case ESCAPE_NO:
- aResult.append(sal_Unicode(nUTF32));
+ aResult.appendUtf32(nUTF32);
break;
case ESCAPE_OCTET:
@@ -3724,7 +3724,7 @@ rtl::OUString INetURLObject::decode(sal_Unicode const * pBegin,
appendEscape(aResult, cEscapePrefix, nUTF32);
}
else
- aResult.append(sal_Unicode(nUTF32));
+ aResult.appendUtf32(nUTF32);
break;
}
}