summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:50:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:50:16 +0200
commit2a5b3c02678b5c90e8343fe29c0989f2bcfea70e (patch)
tree70f061b4c8f104a90a609c09c7bf30e728c8c6d8 /fpicker
parent4cf1a6ba95797bd0f3e2093c0bf4f8686e31a0ce (diff)
loplugin:defaultparams
Change-Id: I6372cf755a78772094bf5fdcb076cc6ea395fc89
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/RemoteFilesDialog.cxx14
-rw-r--r--fpicker/source/office/iodlg.cxx4
2 files changed, 9 insertions, 9 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index e54e16e82914..da34b7af7d07 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -619,7 +619,7 @@ void RemoteFilesDialog::EnableControls()
{
if( m_pServices_lb->GetEntryCount() > 0 )
{
- m_pServices_lb->Enable( true );
+ m_pServices_lb->Enable();
if( m_pServices_lb->GetSelectEntryCount() )
{
@@ -653,12 +653,12 @@ void RemoteFilesDialog::EnableControls()
if( m_bIsConnected )
{
- m_pFilter_lb->Enable( true );
- m_pName_ed->Enable( true );
- m_pContainer->Enable( true );
+ m_pFilter_lb->Enable();
+ m_pName_ed->Enable();
+ m_pContainer->Enable();
if( !m_pName_ed->GetText().isEmpty() )
- m_pOk_btn->Enable( true );
+ m_pOk_btn->Enable();
else
m_pOk_btn->Enable( false );
}
@@ -671,7 +671,7 @@ void RemoteFilesDialog::EnableControls()
}
m_pPath->EnableFields( true );
- m_pAddService_btn->Enable( true );
+ m_pAddService_btn->Enable();
Invalidate(InvalidateFlags::Update);
}
@@ -686,7 +686,7 @@ void RemoteFilesDialog::DisableControls()
m_pOk_btn->Enable( false );
m_pPath->EnableFields( false );
- m_pCancel_btn->Enable( true );
+ m_pCancel_btn->Enable();
}
void RemoteFilesDialog::SavePassword( const OUString& rURL, const OUString& rUser
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index d76d89b8aa0c..4141b48b7e5c 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -1814,7 +1814,7 @@ void SvtFileDialog::onAsyncOperationStarted()
{
EnableUI( false );
// the cancel button must be always enabled
- _pImp->_pBtnCancel->Enable( true );
+ _pImp->_pBtnCancel->Enable();
_pImp->_pBtnCancel->GrabFocus();
}
@@ -2919,7 +2919,7 @@ IMPL_LINK_NOARG_TYPED(QueryFolderNameDialog, NameHdl, Edit&, void)
if ( !aName.isEmpty() )
{
if ( !m_pOKBtn->IsEnabled() )
- m_pOKBtn->Enable( true );
+ m_pOKBtn->Enable();
}
else
{