diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-20 13:02:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-20 13:52:17 +0200 |
commit | 7d769f9df5b95d717f3cd045dbd8f82ff2de27a1 (patch) | |
tree | f04de671670a533ccffe20bf3aa0fa9c5f837a5d /desktop/source/deployment | |
parent | 0670872ce0d191cf93481215025cafd2062b8a8f (diff) |
loplugin: defaultparams
Change-Id: Ibf0ea539d2a95073a12f84964759d9c7a94baa7b
Diffstat (limited to 'desktop/source/deployment')
7 files changed, 14 insertions, 14 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index 96c1097bf0a0..767500d8eb41 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -709,9 +709,9 @@ ExtMgrDialog::ExtMgrDialog(vcl::Window *pParent, TheExtensionManager *pManager, m_pSharedCbx->SetClickHdl( LINK( this, ExtMgrDialog, HandleExtTypeCbx ) ); m_pUserCbx->SetClickHdl( LINK( this, ExtMgrDialog, HandleExtTypeCbx ) ); - m_pBundledCbx->Check( true ); - m_pSharedCbx->Check( true ); - m_pUserCbx->Check( true ); + m_pBundledCbx->Check(); + m_pSharedCbx->Check(); + m_pUserCbx->Check(); m_pProgressBar->Hide(); @@ -1420,7 +1420,7 @@ IMPL_LINK_NOARG(UpdateRequiredDialog, HandleCloseBtn) else if ( hasActiveEntries() ) disableAllEntries(); else - EndDialog( 0 ); + EndDialog(); } return 1; @@ -1505,7 +1505,7 @@ bool UpdateRequiredDialog::Close() else if ( hasActiveEntries() ) disableAllEntries(); else - EndDialog( 0 ); + EndDialog(); } return false; diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx index 8178fc0ab9b4..7a6e2e319208 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx @@ -1319,7 +1319,7 @@ IMPL_LINK_NOARG(UpdateDialog, okHandler) IMPL_LINK_NOARG(UpdateDialog, closeHandler) { m_thread->stop(); - EndDialog(RET_CANCEL); + EndDialog(); return 0; } diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx index 0c8d665842a3..849942b0006a 100644 --- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx @@ -326,7 +326,7 @@ void UpdateInstallDialog::setError(OUString const & exceptionMessage) IMPL_LINK_NOARG(UpdateInstallDialog, cancelHandler) { m_thread->stop(); - EndDialog(RET_CANCEL); + EndDialog(); return 0; } @@ -352,7 +352,7 @@ void UpdateInstallDialog::Thread::downloadExtensions() m_sDownloadFolder = destFolder; try { - dp_misc::create_folder(0, destFolder, m_updateCmdEnv.get(), true ); + dp_misc::create_folder(0, destFolder, m_updateCmdEnv.get() ); } catch (const cssu::Exception & e) { throw cssu::Exception(e.Message + " No extensions will be installed.", 0); diff --git a/desktop/source/deployment/gui/license_dialog.cxx b/desktop/source/deployment/gui/license_dialog.cxx index cc1621aebc8b..2118c57a415c 100644 --- a/desktop/source/deployment/gui/license_dialog.cxx +++ b/desktop/source/deployment/gui/license_dialog.cxx @@ -249,7 +249,7 @@ IMPL_LINK_NOARG(LicenseDialogImpl, AcceptHdl) IMPL_LINK_NOARG(LicenseDialogImpl, CancelHdl) { - EndDialog(RET_CANCEL); + EndDialog(); return 0; } diff --git a/desktop/source/deployment/manager/dp_activepackages.cxx b/desktop/source/deployment/manager/dp_activepackages.cxx index d19337f856dc..83db37919f6f 100644 --- a/desktop/source/deployment/manager/dp_activepackages.cxx +++ b/desktop/source/deployment/manager/dp_activepackages.cxx @@ -211,7 +211,7 @@ void ActivePackages::erase( OUString const & id, OUString const & fileName) { #if HAVE_FEATURE_EXTENSIONS - m_map.erase(newKey(id), true) || m_map.erase(oldKey(fileName), true); + m_map.erase(newKey(id)) || m_map.erase(oldKey(fileName)); #else (void) id; (void) fileName; diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx index d75cb3706d88..007d8e5a7287 100644 --- a/desktop/source/deployment/manager/dp_manager.cxx +++ b/desktop/source/deployment/manager/dp_manager.cxx @@ -160,7 +160,7 @@ void PackageManagerImpl::initActivationLayer( m_activePackages_expanded = expandUnoRcUrl( m_activePackages ); m_registrationData_expanded = expandUnoRcUrl(m_registrationData); if (!m_readOnly) - create_folder( 0, m_activePackages_expanded, xCmdEnv, true); + create_folder( 0, m_activePackages_expanded, xCmdEnv); OUString dbName; if (m_context == "user") @@ -168,7 +168,7 @@ void PackageManagerImpl::initActivationLayer( else { // Create the extension data base in the user installation - create_folder( 0, m_registrationData_expanded, xCmdEnv, true); + create_folder( 0, m_registrationData_expanded, xCmdEnv); dbName = m_registrationData_expanded + "/extensions.pmap"; } // The data base can always be written because it is always in the user installation @@ -953,7 +953,7 @@ Reference<deployment::XPackage> PackageManagerImpl::getDeployedPackage_( ActivePackages::Data val; if (m_activePackagesDB->get( &val, id, fileName )) { - return getDeployedPackage_( id, val, xCmdEnv, false ); + return getDeployedPackage_( id, val, xCmdEnv ); } throw lang::IllegalArgumentException( getResourceString(RID_STR_NO_SUCH_PACKAGE) + id, diff --git a/desktop/source/deployment/registry/executable/dp_executable.cxx b/desktop/source/deployment/registry/executable/dp_executable.cxx index cdc61649a374..9be5d9c53bfc 100644 --- a/desktop/source/deployment/registry/executable/dp_executable.cxx +++ b/desktop/source/deployment/registry/executable/dp_executable.cxx @@ -284,7 +284,7 @@ bool BackendImpl::ExecutablePackageImpl::isUrlTargetInExtension() if (osl::File::E_None == osl::File::getAbsoluteFileURL( OUString(), dp_misc::expandUnoRcUrl(m_url), sFile)) { - if (sFile.match(sExtensionDir, 0)) + if (sFile.match(sExtensionDir)) bSuccess = true; } } |