Some more loplugin:cstylecast: fpicker

Change-Id: I39e741c395a05f6f83e2e5db91a76cea87d06836
This commit is contained in:
Stephan Bergmann
2015-01-17 18:46:32 +01:00
parent 3ad6e328a7
commit 74b0c5d0bb
2 changed files with 4 additions and 4 deletions

View File

@@ -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();

View File

@@ -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* );