From fdbe9a90bc5f39d59fd5dbbd0a198bc95360abcd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 8 Jul 2016 16:41:06 +0200 Subject: [PATCH] loplugin:redundantcast: redundant static_casts in toolkit Change-Id: Iee61c812384e24a9ac68f1e0ee4ba590838442ca --- toolkit/source/awt/scrollabledialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/source/awt/scrollabledialog.cxx b/toolkit/source/awt/scrollabledialog.cxx index cc2c77135c75..d1fc2ddabf43 100644 --- a/toolkit/source/awt/scrollabledialog.cxx +++ b/toolkit/source/awt/scrollabledialog.cxx @@ -121,7 +121,7 @@ void ScrollableWrapper::lcl_Scroll( long nX, long nY ) template< class T> void ScrollableWrapper::LinkStubScrollBarHdl( void* pThis, ScrollBar* pCaller) { - static_cast*>(pThis)->ScrollBarHdl( static_cast(pCaller) ); + static_cast*>(pThis)->ScrollBarHdl( pCaller ); } template< class T>