summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpicker/source/office/iodlg.cxx24
-rw-r--r--fpicker/source/office/iodlg.hxx5
2 files changed, 2 insertions, 27 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index a482e9b0e17e..b684ae9d34df 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -1220,18 +1220,7 @@ void SvtFileDialog::OpenHdl_Impl(void* pVoid)
OSL_FAIL("SvtFileDialog, OpenHdl_Impl: invalid mode!");
}
- // notify interested parties
- long nRet;
-
- if ( _aOKHdl.IsSet() )
- nRet = _aOKHdl.Call( this );
- else
- nRet = 1;
-
- if ( nRet )
- {
- EndDialog( RET_OK );
- }
+ EndDialog( RET_OK );
}
@@ -1475,16 +1464,7 @@ void SvtFileDialog::OpenMultiSelection_Impl()
if ( nCount && pEntry )
_aPath = SvtFileView::GetURL( pEntry );
- // notify interested parties
- long nRet;
-
- if ( _aOKHdl.IsSet() )
- nRet = _aOKHdl.Call( this );
- else
- nRet = 1;
-
- if ( nRet )
- EndDialog( RET_OK );
+ EndDialog( RET_OK );
}
diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx
index f214c3d394e9..93c493426037 100644
--- a/fpicker/source/office/iodlg.hxx
+++ b/fpicker/source/office/iodlg.hxx
@@ -137,11 +137,6 @@ private:
protected:
virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
- // originally from VclFileDialog
- Link<> _aOKHdl;
- Link<> _aFileSelectHdl;
- Link<> _aFilterSelectHdl;
-
OUString _aPath;
OUString _aDefExt;