summaryrefslogtreecommitdiff
path: root/jurt/com/sun/star/lib/util/UrlToFileMapper.java
diff options
context:
space:
mode:
Diffstat (limited to 'jurt/com/sun/star/lib/util/UrlToFileMapper.java')
-rw-r--r--jurt/com/sun/star/lib/util/UrlToFileMapper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jurt/com/sun/star/lib/util/UrlToFileMapper.java b/jurt/com/sun/star/lib/util/UrlToFileMapper.java
index 22b6ccf0a745..9de0a199880f 100644
--- a/jurt/com/sun/star/lib/util/UrlToFileMapper.java
+++ b/jurt/com/sun/star/lib/util/UrlToFileMapper.java
@@ -145,7 +145,7 @@ public final class UrlToFileMapper {
try {
enc = (String) urlEncoderEncode.invoke(
null,
- new Object[] { new Character(c).toString(), "UTF-8" });
+ new Object[] {Character.toString(c), "UTF-8" });
} catch (IllegalAccessException e) {
throw new RuntimeException("This cannot happen: " + e);
} catch (InvocationTargetException e) {