diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-08 16:38:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-08 16:47:31 +0200 |
commit | 62c564ccd2e2e665e56c2440e827c7aca330a46c (patch) | |
tree | 0d44d8e062ac18b4f98b0407d7c973e21b5a4908 /animations/source | |
parent | e0fe01bb033b834e37b9340ea849557b346ee16e (diff) |
loplugin:redundantcast: redundant static_casts in animations
Change-Id: I7449a82672d412a963eab7df793182af85b4cb53
Diffstat (limited to 'animations/source')
-rw-r--r-- | animations/source/animcore/animcore.cxx | 7 |
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( |