diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:17:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:25:43 +0200 |
commit | f43b89b7ed9f24bfe34d1337ed92fad3633e49de (patch) | |
tree | cc9c731c2022f79ac710cc559af24b7da063d61e /jvmfwk/plugins | |
parent | loplugin:salbool: Automatic rewrite of sal_False/True (diff) | |
download | core-f43b89b7ed9f24bfe34d1337ed92fad3633e49de.tar.gz core-f43b89b7ed9f24bfe34d1337ed92fad3633e49de.zip |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I65fdd933e2a3973053359024d8d9c733f79a6477
Diffstat (limited to 'jvmfwk/plugins')
-rw-r--r-- | jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx | 4 | ||||
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx index 9daf5740f1ba..5f8be77189ba 100644 --- a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx +++ b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx @@ -51,7 +51,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) fprintf(stdout, HELP_TEXT);// default return 0; } - sal_Bool bEnabled = sal_False; + sal_Bool bEnabled = false; javaFrameworkError errcode = jfw_getEnabled( & bEnabled); if (errcode == JFW_E_NONE && !bEnabled) { @@ -81,7 +81,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) else { //check if the JRE was not uninstalled - sal_Bool bExist = sal_False; + sal_Bool bExist = false; errcode = jfw_existJRE(pInfo.info, &bExist); if (errcode == JFW_E_NONE) { diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx index a3db87f687ad..16e8ff1abd9c 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx @@ -878,11 +878,11 @@ javaPluginError jfw_plugin_existJRE(const JavaInfo *pInfo, sal_Bool *exist) ::osl::File::RC rc_item = ::osl::DirectoryItem::get(sLocation, item); if (::osl::File::E_None == rc_item) { - *exist = sal_True; + *exist = true; } else if (::osl::File::E_NOENT == rc_item) { - *exist = sal_False; + *exist = false; } else { @@ -901,13 +901,13 @@ javaPluginError jfw_plugin_existJRE(const JavaInfo *pInfo, sal_Bool *exist) ::osl::File::RC rc_itemRt = ::osl::DirectoryItem::get(sRuntimeLib, itemRt); if (::osl::File::E_None == rc_itemRt) { - *exist = sal_True; + *exist = true; JFW_TRACE2("Java runtime library exist: " << sRuntimeLib); } else if (::osl::File::E_NOENT == rc_itemRt) { - *exist = sal_False; + *exist = false; JFW_TRACE2("Java runtime library does not exist: " << sRuntimeLib); } else |