diff options
Diffstat (limited to 'svtools/source/misc')
-rw-r--r-- | svtools/source/misc/dialogcontrolling.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/svtools/source/misc/dialogcontrolling.cxx b/svtools/source/misc/dialogcontrolling.cxx index ca6280410007..12219e4f0e94 100644 --- a/svtools/source/misc/dialogcontrolling.cxx +++ b/svtools/source/misc/dialogcontrolling.cxx @@ -103,11 +103,10 @@ namespace svt } - IMPL_LINK( DialogController, OnWindowEvent, const VclWindowEvent*, _pEvent ) + IMPL_LINK_TYPED( DialogController, OnWindowEvent, VclWindowEvent&, _rEvent, void ) { - if ( m_pImpl->pEventFilter->payAttentionTo( *_pEvent ) ) - impl_updateAll( *_pEvent ); - return 0L; + if ( m_pImpl->pEventFilter->payAttentionTo( _rEvent ) ) + impl_updateAll( _rEvent ); } |