loplugin:redundantcast: redundant static_casts in animations
Change-Id: I7449a82672d412a963eab7df793182af85b4cb53
This commit is contained in:
parent
e0fe01bb03
commit
62c564ccd2
@ -697,14 +697,11 @@ Any SAL_CALL AnimationNode::queryInterface( const Type& aType ) throw (RuntimeEx
|
|||||||
static_cast< XAnimateTransform * >( this ) );
|
static_cast< XAnimateTransform * >( this ) );
|
||||||
break;
|
break;
|
||||||
case AnimationNodeType::AUDIO:
|
case AnimationNodeType::AUDIO:
|
||||||
aRet = ::cppu::queryInterface(
|
aRet = ::cppu::queryInterface(aType, static_cast< XAudio * >(this) );
|
||||||
aType,
|
|
||||||
static_cast< XAudio * >( static_cast< XAudio * >(this) ) );
|
|
||||||
break;
|
break;
|
||||||
case AnimationNodeType::COMMAND:
|
case AnimationNodeType::COMMAND:
|
||||||
aRet = ::cppu::queryInterface(
|
aRet = ::cppu::queryInterface(
|
||||||
aType,
|
aType, static_cast< XCommand * >(this) );
|
||||||
static_cast< XCommand * >( static_cast< XCommand * >(this) ) );
|
|
||||||
break;
|
break;
|
||||||
case AnimationNodeType::TRANSITIONFILTER:
|
case AnimationNodeType::TRANSITIONFILTER:
|
||||||
aRet = ::cppu::queryInterface(
|
aRet = ::cppu::queryInterface(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user