diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-20 14:51:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-20 21:18:32 +0100 |
commit | b23deda0bbd27c424bd1b8bac3e8655cc1de620f (patch) | |
tree | e325968dd63b23260a78d66fb544cb1296c8e4fa | |
parent | 8da886989b9f60fbcbd2c7eac5db47128030b1aa (diff) |
coverity#1327463 Dm: Dubious method used
Change-Id: I452603d75aa2e96d4c5e7fc00d730c98a265c186
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/Helper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/Helper.java b/swext/mediawiki/src/com/sun/star/wiki/Helper.java index 8a15621384ed..020889965e6a 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/Helper.java +++ b/swext/mediawiki/src/com/sun/star/wiki/Helper.java @@ -770,7 +770,7 @@ public class Helper connPost.setDoOutput(true); connPost.connect(); - OutputStreamWriter post = new OutputStreamWriter(connPost.getOutputStream()); + OutputStreamWriter post = new OutputStreamWriter(connPost.getOutputStream(), "UTF-8"); post.write("wpName="); post.write(URLEncoder.encode(sWikiUser, "UTF-8")); post.write("&wpRemember=1"); |