diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-17 18:46:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 09:06:48 +0100 |
commit | 74b0c5d0bb91977a2392c8a58bba7f13595e4bfb (patch) | |
tree | f258269c0006c523db5233c39a324a2efa467bf2 | |
parent | 3ad6e328a76569660c8441cc8e546cb6f22cdeb7 (diff) |
Some more loplugin:cstylecast: fpicker
Change-Id: I39e741c395a05f6f83e2e5db91a76cea87d06836
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 6 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.hxx | 2 |
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* ); |