[Libreoffice-commits] core.git: jvmfwk/plugins
Stephan Bergmann
sbergman at redhat.com
Fri May 19 22:01:13 UTC 2017
jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 89e9f804ca480f53a5a53ead8d60e32146dcfa41
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sat May 20 00:00:49 2017 +0200
loplugin:stringcopy (macOS)
Change-Id: I855db37cdcd17920cf02d804e5cfa38d316ba236
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
index 0bd412408b3b..c95849e77ac2 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
@@ -631,8 +631,8 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
if ( ! isVendorSupported(pInfo->sVendor))
return javaPluginError::WrongVendor;
#ifdef MACOSX
- rtl::Reference<VendorBase> aVendorInfo = getJREInfoByPath( OUString( pInfo->sLocation ) );
- if ( !aVendorInfo.is() || aVendorInfo->compareVersions( OUString( pInfo->sVersion ) ) < 0 )
+ rtl::Reference<VendorBase> aVendorInfo = getJREInfoByPath( pInfo->sLocation );
+ if ( !aVendorInfo.is() || aVendorInfo->compareVersions( pInfo->sVersion ) < 0 )
return javaPluginError::VmCreationFailed;
#endif
OUString sRuntimeLib = getRuntimeLib(pInfo->arVendorData);
More information about the Libreoffice-commits
mailing list