summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
{