Kaydet (Commit) 89e9f804 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringcopy (macOS)

Change-Id: I855db37cdcd17920cf02d804e5cfa38d316ba236
üst 8b1fcedc
...@@ -631,8 +631,8 @@ javaPluginError jfw_plugin_startJavaVirtualMachine( ...@@ -631,8 +631,8 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
if ( ! isVendorSupported(pInfo->sVendor)) if ( ! isVendorSupported(pInfo->sVendor))
return javaPluginError::WrongVendor; return javaPluginError::WrongVendor;
#ifdef MACOSX #ifdef MACOSX
rtl::Reference<VendorBase> aVendorInfo = getJREInfoByPath( OUString( pInfo->sLocation ) ); rtl::Reference<VendorBase> aVendorInfo = getJREInfoByPath( pInfo->sLocation );
if ( !aVendorInfo.is() || aVendorInfo->compareVersions( OUString( pInfo->sVersion ) ) < 0 ) if ( !aVendorInfo.is() || aVendorInfo->compareVersions( pInfo->sVersion ) < 0 )
return javaPluginError::VmCreationFailed; return javaPluginError::VmCreationFailed;
#endif #endif
OUString sRuntimeLib = getRuntimeLib(pInfo->arVendorData); OUString sRuntimeLib = getRuntimeLib(pInfo->arVendorData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment