diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-24 15:43:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-24 17:17:46 +0200 |
commit | 6d6fad522a2cd6a2959ea774969a86288f5a3cb7 (patch) | |
tree | 392503346dc17a8573f4a33c51155ffdb6f95cfa /jvmfwk | |
parent | aaff73401318a7fd1b3e936555f933538b2407bc (diff) |
Introduce OStringChar
...similar to OUStringChar, to be used in string concatenation expressions. And
enable the corresponding loplugin:stringadd check, and fix its findings.
Change-Id: I35ebb2253ba82bda6c98ae6ebd2ad4f27cf9abf9
Reviewed-on: https://gerrit.libreoffice.org/81456
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx index b9f43ac2fad5..128de9b352b0 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx @@ -697,7 +697,7 @@ javaPluginError jfw_plugin_startJavaVirtualMachine( { OString sAddPath = getPluginJarPath(pInfo->sVendor, pInfo->sLocation,pInfo->sVersion); if (!sAddPath.isEmpty()) - opt += OString(SAL_PATHSEPARATOR) + sAddPath; + opt += OStringChar(SAL_PATHSEPARATOR) + sAddPath; } #endif if (opt == "-Xint") { |