Kaydet (Commit) 62c564cc authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:redundantcast: redundant static_casts in animations

Change-Id: I7449a82672d412a963eab7df793182af85b4cb53
üst e0fe01bb
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment