loplugin:defaultparams

Change-Id: I6372cf755a78772094bf5fdcb076cc6ea395fc89
This commit is contained in:
Stephan Bergmann
2015-10-19 17:50:16 +02:00
parent 4cf1a6ba95
commit 2a5b3c0267
2 changed files with 9 additions and 9 deletions

View File

@@ -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

View File

@@ -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
{