summaryrefslogtreecommitdiffstats
path: root/animations/source/animcore/animcore.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'animations/source/animcore/animcore.cxx')
-rw-r--r--animations/source/animcore/animcore.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx
index 77a5d0d77374..bba30a6d6e52 100644
--- a/animations/source/animcore/animcore.cxx
+++ b/animations/source/animcore/animcore.cxx
@@ -73,7 +73,7 @@ using ::com::sun::star::uno::XComponentContext;
using ::com::sun::star::uno::Exception;
using ::com::sun::star::uno::XWeak;
using ::com::sun::star::uno::Type;
-using ::com::sun::star::uno::makeAny;
+using ::com::sun::star::uno::Any;
using ::com::sun::star::lang::NoSupportException;
using ::com::sun::star::lang::IllegalArgumentException;
using ::com::sun::star::lang::WrappedTargetException;
@@ -388,7 +388,7 @@ Any SAL_CALL TimeContainerEnumeration::nextElement()
if( maIter == maChildren.end() )
throw NoSuchElementException();
- return makeAny( (*maIter++) );
+ return Any( *maIter++ );
}
@@ -1972,7 +1972,7 @@ void AnimationNode::fireChangeListener()
{
Reference< XInterface > xSource( static_cast<OWeakObject*>(this), UNO_QUERY );
Sequence< ElementChange > aChanges;
- const ChangesEvent aEvent( xSource, makeAny( mxParent.get() ), aChanges );
+ const ChangesEvent aEvent( xSource, Any( mxParent.get() ), aChanges );
while( aIterator.hasMoreElements() )
{
Reference< XChangesListener > xListener( aIterator.next(), UNO_QUERY );