summaryrefslogtreecommitdiff
path: root/animations/source
diff options
context:
space:
mode:
Diffstat (limited to 'animations/source')
-rw-r--r--animations/source/animcore/animcore.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx
index b77675d22fbc..9aed80975efb 100644
--- a/animations/source/animcore/animcore.cxx
+++ b/animations/source/animcore/animcore.cxx
@@ -514,7 +514,7 @@ AnimationNode::~AnimationNode()
#define IMPL_NODE_FACTORY(N,IN,SN)\
Reference< XInterface > SAL_CALL createInstance_##N( const Reference< XComponentContext > & ) throw (Exception)\
{\
- return Reference < XInterface > ( (static_cast< ::cppu::OWeakObject * >(new AnimationNode( N )) ) );\
+ return static_cast< ::cppu::OWeakObject * >(new AnimationNode( N ));\
}\
OUString getImplementationName_##N()\
{\