summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpicker/source/office/iodlg.cxx6
-rw-r--r--fpicker/source/office/iodlg.hxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 295a0e74df01..e706f0bbd2e4 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -1128,12 +1128,12 @@ void SvtFileDialog::EnableAutocompletion( bool _bEnable )
-IMPL_STATIC_LINK( SvtFileDialog, FilterSelectHdl_Impl, ListBox*, pBox )
+IMPL_STATIC_LINK( SvtFileDialog, FilterSelectHdl_Impl, void*, pInstance )
{
- DBG_ASSERT( pBox, "SvtFileDialog:keine Instanz" );
+ DBG_ASSERT( pInstance, "SvtFileDialog:keine Instanz" );
// was the handler executed by the travel timer?
- if ( pBox == (ListBox*)&pThis->_pImp->_aFilterTimer )
+ if ( pInstance == &pThis->_pImp->_aFilterTimer )
{
// filter the view again
pThis->ExecuteFilter();
diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx
index 1a1bc55f098d..d99bf4dbd125 100644
--- a/fpicker/source/office/iodlg.hxx
+++ b/fpicker/source/office/iodlg.hxx
@@ -112,7 +112,7 @@ private:
bool m_bHasFilename;
::com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_context;
- DECL_STATIC_LINK( SvtFileDialog, FilterSelectHdl_Impl, ListBox* );
+ DECL_STATIC_LINK( SvtFileDialog, FilterSelectHdl_Impl, void* );
DECL_STATIC_LINK( SvtFileDialog, NewFolderHdl_Impl, PushButton* );
DECL_STATIC_LINK( SvtFileDialog, OpenHdl_Impl, void* );
DECL_LINK ( CancelHdl_Impl, void* );