diff options
Diffstat (limited to 'fpicker/source/office/iodlg.cxx')
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 370b2e7d2ad4..b6703074616a 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -1109,7 +1109,7 @@ IMPL_STATIC_LINK( SvtFileDialog, OpenHdl_Impl, void*, pVoid ) if ( pThis->_aOKHdl.IsSet() ) nRet = pThis->_aOKHdl.Call( pThis ); else - nRet = pThis->OK(); + nRet = 1; if ( nRet ) { @@ -1377,7 +1377,7 @@ void SvtFileDialog::OpenMultiSelection_Impl() if ( _aOKHdl.IsSet() ) nRet = _aOKHdl.Call( this ); else - nRet = OK(); + nRet = 1; if ( nRet ) EndDialog( sal_True ); @@ -1622,13 +1622,6 @@ bool SvtFileDialog::Notify( NotifyEvent& rNEvt ) -long SvtFileDialog::OK() -{ - return sal_True; -} - - - class SvtDefModalDialogParent_Impl { private: @@ -2672,24 +2665,6 @@ void SvtFileDialog::setImage( sal_Int16 /*aImageFormat*/, const Any& rImage ) } -bool SvtFileDialog::setShowState( bool /*bShowState*/ ) -{ - // #97633 for the system filedialog it's - // useful to make the preview switchable - // because the preview occupies - // half of the size of the file listbox - // which is not the case here, - // so we (TRA/FS) decided not to make - // the preview window switchable because - // else we would have to change the layout - // of the file dialog dynamically - // support for set/getShowState is opionally - // see com::sun::star::ui::dialogs::XFilePreview - - return false; -} - - OUString SvtFileDialog::getCurrentFileText( ) const { OUString sReturn; |