diff options
-rw-r--r-- | fpicker/source/office/RemoteFilesDialog.cxx | 4 | ||||
-rw-r--r-- | fpicker/source/office/fpdialogbase.hxx | 4 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 10 | ||||
-rw-r--r-- | fpicker/uiconfig/ui/remotefilesdialog.ui | 1 |
4 files changed, 10 insertions, 9 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index 94649c6abb93..a2f8ffb63631 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -367,12 +367,12 @@ void RemoteFilesDialog::dispose() m_pListView_btn.clear(); m_pAddMenu.clear(); - ModalDialog::dispose(); + Dialog::dispose(); } void RemoteFilesDialog::Resize() { - ModalDialog::Resize(); + Dialog::Resize(); if( m_pFileView && m_pContainer ) { diff --git a/fpicker/source/office/fpdialogbase.hxx b/fpicker/source/office/fpdialogbase.hxx index f845812ff9ce..961ab53d2d6b 100644 --- a/fpicker/source/office/fpdialogbase.hxx +++ b/fpicker/source/office/fpdialogbase.hxx @@ -62,11 +62,11 @@ namespace o3tl { // SvtFileDialog_Base -class SvtFileDialog_Base : public ModalDialog, public ::svt::IFilePickerController +class SvtFileDialog_Base : public Dialog, public ::svt::IFilePickerController { public: SvtFileDialog_Base( vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription ) - : ModalDialog( pParent, rID, rUIXMLDescription ) + : Dialog( pParent, rID, rUIXMLDescription ) { } diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index ed097017dc5e..15b95020b5ed 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -532,7 +532,7 @@ void SvtFileDialog::dispose() _pPbPlay.clear(); _pPrevWin.clear(); m_aDisabledControls.clear(); - ModalDialog::dispose(); + Dialog::dispose(); } void SvtFileDialog::Init_Impl @@ -1585,7 +1585,7 @@ bool SvtFileDialog::EventNotify( NotifyEvent& rNEvt ) } } } - return bRet || ModalDialog::EventNotify(rNEvt); + return bRet || Dialog::EventNotify(rNEvt); } namespace @@ -1661,7 +1661,7 @@ short SvtFileDialog::Execute() // start the dialog _bIsInExecute = true; - short nResult = ModalDialog::Execute(); + short nResult = Dialog::Execute(); _bIsInExecute = false; SAL_WARN_IF( m_pCurrentAsyncAction.is(), "fpicker.office", "SvtFilePicker::Execute: still running an async action!" ); @@ -1691,7 +1691,7 @@ bool SvtFileDialog::StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) return false; // start of the dialog - return ModalDialog::StartExecuteAsync(rCtx); + return Dialog::StartExecuteAsync(rCtx); } void SvtFileDialog::onAsyncOperationStarted() @@ -2269,7 +2269,7 @@ void SvtFileDialog::DataChanged( const DataChangedEvent& _rDCEvt ) if ( DataChangedEventType::SETTINGS == _rDCEvt.GetType() ) implUpdateImages( ); - ModalDialog::DataChanged( _rDCEvt ); + Dialog::DataChanged( _rDCEvt ); } diff --git a/fpicker/uiconfig/ui/remotefilesdialog.ui b/fpicker/uiconfig/ui/remotefilesdialog.ui index e27242c520e9..eb4b9959c2b8 100644 --- a/fpicker/uiconfig/ui/remotefilesdialog.ui +++ b/fpicker/uiconfig/ui/remotefilesdialog.ui @@ -44,6 +44,7 @@ <property name="can_focus">False</property> <property name="border_width">6</property> <property name="title" translatable="yes" context="remotefilesdialog|RemoteFilesDialog">Remote Files</property> + <property name="modal">True</property> <property name="type_hint">dialog</property> <child> <placeholder/> |