diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-13 12:43:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-13 15:20:58 +0200 |
commit | 3697b87b70c69e17e1d0398e0192a11dab179fe3 (patch) | |
tree | a498cce1f1351e6f92385aa9245c66c0724b6430 /jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx | |
parent | 9bc95521aaa35b533894b3934519acdbd7a47815 (diff) |
use more OUString::operator== in forms..sal
Change-Id: I70d7e50f8c1e019524ccad915f0cca912c5035dc
Reviewed-on: https://gerrit.libreoffice.org/39899
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx index c95849e77ac2..40ce22e78ea9 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx @@ -315,7 +315,7 @@ javaPluginError jfw_plugin_getAllJavaInfos( { const rtl::Reference<VendorBase>& cur = *i; - if (!sVendor.equals(cur->getVendor())) + if (sVendor != cur->getVendor()) continue; javaPluginError err = checkJavaVersionRequirements( @@ -362,7 +362,7 @@ javaPluginError jfw_plugin_getJavaInfoByPath( return javaPluginError::NoJre; //Check if the detected JRE matches the version requirements - if (!sVendor.equals(aVendorInfo->getVendor())) + if (sVendor != aVendorInfo->getVendor()) return javaPluginError::NoJre; javaPluginError errorcode = checkJavaVersionRequirements( aVendorInfo, sMinVersion, sMaxVersion, arExcludeList); @@ -394,7 +394,7 @@ javaPluginError jfw_plugin_getJavaInfoFromJavaHome( const OUString& vendor = vendorInfo->first; jfw::VersionInfo versionInfo = vendorInfo->second; - if (vendor.equals(infoJavaHome[0]->getVendor())) + if (vendor == infoJavaHome[0]->getVendor()) { javaPluginError errorcode = checkJavaVersionRequirements( infoJavaHome[0], @@ -436,7 +436,7 @@ javaPluginError jfw_plugin_getJavaInfosFromPath( const OUString& vendor = vendorInfo->first; jfw::VersionInfo const & versionInfo = vendorInfo->second; - if (vendor.equals(currentInfo->getVendor())) + if (vendor == currentInfo->getVendor()) { javaPluginError errorcode = checkJavaVersionRequirements( currentInfo, |