summaryrefslogtreecommitdiff
path: root/stoc/source/javavm/javavm.cxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-03-30 09:36:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-03-30 12:21:40 +0000
commitda56de9ac4824eb365af20b351719395e725be39 (patch)
treef19ad159f5e12b9e62b2ee50f39016819b7a7c5c /stoc/source/javavm/javavm.cxx
parent8d1a56c206e5c2ed6c331049198bb8ebc6176171 (diff)
remove type decorations on char literals
they are only needed where type deduction fails. left them in defines for now. Change-Id: I7f002dd6bc7acc083c73b6c64076de6dd28d0b09 Reviewed-on: https://gerrit.libreoffice.org/35893 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'stoc/source/javavm/javavm.cxx')
-rw-r--r--stoc/source/javavm/javavm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index 224768d1f067..7c07453e8b82 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -331,7 +331,7 @@ void getINetPropsFromConfig(stoc_javavm::JVM * pjvm,
if(nonProxies_name.is() && !nonProxies_name->getStringValue().isEmpty()) {
OUString value = nonProxies_name->getStringValue();
// replace the separator ";" by "|"
- value = value.replace((sal_Unicode)';', (sal_Unicode)'|');
+ value = value.replace(';', '|');
OUString httpNonProxyHosts = "http.nonProxyHosts=" + value;
OUString ftpNonProxyHosts = "ftp.nonProxyHosts=" + value;
@@ -1435,7 +1435,7 @@ void JavaVirtualMachine::setINetSettingsInVM(bool set_reset)
for( C_IT i= Props.begin(); i != Props.end(); ++i)
{
OUString prop= *i;
- sal_Int32 index= prop.indexOf( (sal_Unicode)'=');
+ sal_Int32 index= prop.indexOf( '=');
OUString propName= prop.copy( 0, index);
OUString propValue= prop.copy( index + 1);