From 62c564ccd2e2e665e56c2440e827c7aca330a46c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 8 Jul 2016 16:38:37 +0200 Subject: [PATCH] loplugin:redundantcast: redundant static_casts in animations Change-Id: I7449a82672d412a963eab7df793182af85b4cb53 --- animations/source/animcore/animcore.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx index 94a0dc92488b..f80e1332846b 100644 --- a/animations/source/animcore/animcore.cxx +++ b/animations/source/animcore/animcore.cxx @@ -697,14 +697,11 @@ Any SAL_CALL AnimationNode::queryInterface( const Type& aType ) throw (RuntimeEx static_cast< XAnimateTransform * >( this ) ); break; case AnimationNodeType::AUDIO: - aRet = ::cppu::queryInterface( - aType, - static_cast< XAudio * >( static_cast< XAudio * >(this) ) ); + aRet = ::cppu::queryInterface(aType, static_cast< XAudio * >(this) ); break; case AnimationNodeType::COMMAND: aRet = ::cppu::queryInterface( - aType, - static_cast< XCommand * >( static_cast< XCommand * >(this) ) ); + aType, static_cast< XCommand * >(this) ); break; case AnimationNodeType::TRANSITIONFILTER: aRet = ::cppu::queryInterface(