[Libreoffice-commits] .: tools/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 29 03:20:49 PDT 2012
tools/source/fsys/urlobj.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit cda6b4e991f45ec870a311ab736038bd93227900
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date: Mon Oct 29 14:19:35 2012 +0400
fdo#56366: INetURLObject::decode: do not clip utf-32 to 16-bit
Change-Id: Iaedc9f5b9f25f43b8b8deaf28129423abbb91672
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index 428d4e0..cc33f31 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;
}
}
More information about the Libreoffice-commits
mailing list