summaryrefslogtreecommitdiff
path: root/jurt/com
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-09-14 15:27:59 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-09-15 06:09:09 +0000
commit5c2d2d087f22b00a8447d1d97de353242e89deab (patch)
tree8b014470ed5bdd34c90c08a9e8f167f30c76d56b /jurt/com
parent7b8934d27ea9b6aa227cc16272823f4bec55860f (diff)
jurt: encode(String) in URLEncoder has been deprecated
Change-Id: I914985aa73653e0fb08200ddd06ad5b914087e3a Reviewed-on: https://gerrit.libreoffice.org/11446 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'jurt/com')
-rw-r--r--jurt/com/sun/star/comp/loader/JavaLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jurt/com/sun/star/comp/loader/JavaLoader.java b/jurt/com/sun/star/comp/loader/JavaLoader.java
index c82f8e941232..4298d0b756d5 100644
--- a/jurt/com/sun/star/comp/loader/JavaLoader.java
+++ b/jurt/com/sun/star/comp/loader/JavaLoader.java
@@ -109,7 +109,7 @@ public class JavaLoader implements XImplementationLoader,
String macro = URLDecoder.decode(
StringHelper.replace(
url.substring( EXPAND_PROTOCOL_PREFIX.length() ),
- '+', "%2B" ) );
+ '+', "%2B" ), "UTF-8" );
// expand macro string
String ret = m_xMacroExpander.expandMacros( macro );
if (DEBUG) {