loplugin:redundantcast: redundant static_casts in toolkit

Change-Id: Iee61c812384e24a9ac68f1e0ee4ba590838442ca
This commit is contained in:
Stephan Bergmann 2016-07-08 16:41:06 +02:00
parent e26dfe3a29
commit fdbe9a90bc

View File

@ -121,7 +121,7 @@ void ScrollableWrapper<T>::lcl_Scroll( long nX, long nY )
template< class T>
void ScrollableWrapper<T>::LinkStubScrollBarHdl( void* pThis, ScrollBar* pCaller)
{
static_cast<ScrollableWrapper<T>*>(pThis)->ScrollBarHdl( static_cast<ScrollBar*>(pCaller) );
static_cast<ScrollableWrapper<T>*>(pThis)->ScrollBarHdl( pCaller );
}
template< class T>