summaryrefslogtreecommitdiffstats
path: root/animations
diff options
context:
space:
mode:
Diffstat (limited to 'animations')
-rw-r--r--animations/source/animcore/animcore.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx
index 4f365409c3fc..71d4ab97e9e2 100644
--- a/animations/source/animcore/animcore.cxx
+++ b/animations/source/animcore/animcore.cxx
@@ -2090,15 +2090,7 @@ void SAL_CALL AnimationNode::removeChangesListener( const Reference< XChangesLis
// XUnoTunnel
::sal_Int64 SAL_CALL AnimationNode::getSomething( const Sequence< ::sal_Int8 >& rId )
{
- if( comphelper::isUnoTunnelId<AnimationNode>(rId) )
- {
- return sal::static_int_cast< sal_Int64 >(reinterpret_cast< sal_IntPtr >(this));
-
- }
- else
- {
- return 0;
- }
+ return comphelper::getSomethingImpl(rId, this);
}
const css::uno::Sequence< sal_Int8 > & AnimationNode::getUnoTunnelId()