summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--animations/source/animcore/animcore.cxx7
1 files 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(