diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/check_ext_deps.cxx | 2 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_dialog2.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/check_ext_deps.cxx b/desktop/source/app/check_ext_deps.cxx index ab40ec8f2259..c5e98ca3075a 100644 --- a/desktop/source/app/check_ext_deps.cxx +++ b/desktop/source/app/check_ext_deps.cxx @@ -288,7 +288,7 @@ static bool impl_checkDependencies( const uno::Reference< uno::XComponentContext if ( reg.IsAmbiguous ) bRegistered = false; else - bRegistered = reg.Value ? true : false; + bRegistered = reg.Value; } else bRegistered = false; diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index bd2392093047..0aba4b407dcb 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -1489,7 +1489,7 @@ bool UpdateRequiredDialog::isEnabled( const uno::Reference< deployment::XPackage if ( reg.IsAmbiguous ) bRegistered = false; else - bRegistered = reg.Value ? true : false; + bRegistered = reg.Value; } else bRegistered = false; |