diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-27 10:44:30 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-27 10:47:32 +0100 |
commit | 65191cda819ee8f4d14f6cdf12568c35e46b5c66 (patch) | |
tree | 47d394c5e3b93ab7eb98f286bab1281175671325 /jvmfwk/plugins | |
parent | 5de65dc2d6887a9c7a5b4faa23caa53f8c05c2d0 (diff) |
bool improvements
Change-Id: I757e19313576d2c3d13af1cb720f182f0de91613
Diffstat (limited to 'jvmfwk/plugins')
-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 8310d794f625..aa4091c7c991 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx @@ -360,7 +360,7 @@ javaPluginError jfw_plugin_getJavaInfoByPath( return JFW_PLUGIN_E_INVALID_ARG; rtl::Reference<VendorBase> aVendorInfo = getJREInfoByPath(ouPath); - if (aVendorInfo.is() == sal_False) + if (!aVendorInfo.is()) return JFW_PLUGIN_E_NO_JRE; //Check if the detected JRE matches the version requirements |