diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-16 17:29:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-16 17:29:29 +0100 |
commit | f582ad2c696dfd2fc7f43b70d9afab7877974b7b (patch) | |
tree | dc2043fac305a17e87971ad0c9db7194f04e6cd1 /jvmfwk/source/fwkbase.cxx | |
parent | 43e889da0229ee62774f9d359f48046682295402 (diff) |
jvmfwk: Use appropriate OUString functions on string constants
Change-Id: I3e0b70c61c4e92f2cbd27ce7c45e67ae04dfe14c
Diffstat (limited to 'jvmfwk/source/fwkbase.cxx')
-rw-r--r-- | jvmfwk/source/fwkbase.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jvmfwk/source/fwkbase.cxx b/jvmfwk/source/fwkbase.cxx index 95d7f3fd1d08..548bed4e63cf 100644 --- a/jvmfwk/source/fwkbase.cxx +++ b/jvmfwk/source/fwkbase.cxx @@ -232,7 +232,7 @@ std::vector<OUString> VendorSettings::getSupportedVendors() for (sal_Int32 i = 1; ; i++) { - OUString sName = OUString(UNO_JAVA_JFW_PARAMETER) + OUString::number(i); + OUString sName = UNO_JAVA_JFW_PARAMETER + OUString::number(i); OUString sValue; if (Bootstrap::get()->getFrom(sName, sValue)) { @@ -436,8 +436,7 @@ JFW_MODE getMode() OUString sEnvClasspath(UNO_JAVA_JFW_ENV_CLASSPATH); if (!aBoot->getFrom(sEnvClasspath, sValue)) { - OUString sParams = OUString( - UNO_JAVA_JFW_PARAMETER) + + OUString sParams = UNO_JAVA_JFW_PARAMETER + OUString::number(1); if (!aBoot->getFrom(sParams, sValue)) { |