loplugin:redundantcast: redundant static_casts in animations

Change-Id: I7449a82672d412a963eab7df793182af85b4cb53
This commit is contained in:
Stephan Bergmann 2016-07-08 16:38:37 +02:00
parent e0fe01bb03
commit 62c564ccd2

View File

@ -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(