diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-17 10:50:48 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-17 10:21:15 +0000 |
commit | 40da0a9d1cea08fae38c6bc478d1a69f8faaf627 (patch) | |
tree | d514ddb5e51af23e7978d9133a13a24ab27427f0 /include/animations | |
parent | 0f732c41bc4edd7075ff68a81c0ca299e3e913c9 (diff) |
com::sun::uno->css in avmedia and animations
Change-Id: Ie4365a488728c39fedacae7650b4b90260e7e44a
Reviewed-on: https://gerrit.libreoffice.org/17153
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/animations')
-rw-r--r-- | include/animations/animationnodehelper.hxx | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/include/animations/animationnodehelper.hxx b/include/animations/animationnodehelper.hxx index 840dadd7b683..364e0ad0847b 100644 --- a/include/animations/animationnodehelper.hxx +++ b/include/animations/animationnodehelper.hxx @@ -38,38 +38,37 @@ namespace anim /** pushes the given node to the given vector and recursivly calls itself for each child node. */ - inline void create_deep_vector( const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xNode, - std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > >& rVector ) + inline void create_deep_vector( const css::uno::Reference< css::animations::XAnimationNode >& xNode, + std::vector< css::uno::Reference< css::animations::XAnimationNode > >& rVector ) { rVector.push_back( xNode ); try { // get an XEnumerationAccess to the children - ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumerationAccess > - xEnumerationAccess( xNode, - ::com::sun::star::uno::UNO_QUERY ); + css::uno::Reference< css::container::XEnumerationAccess > + xEnumerationAccess( xNode, css::uno::UNO_QUERY ); if( xEnumerationAccess.is() ) { - ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > + css::uno::Reference< css::container::XEnumeration > xEnumeration( xEnumerationAccess->createEnumeration(), - ::com::sun::star::uno::UNO_QUERY ); + css::uno::UNO_QUERY ); if( xEnumeration.is() ) { while( xEnumeration->hasMoreElements() ) { - ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > + css::uno::Reference< css::animations::XAnimationNode > xChildNode( xEnumeration->nextElement(), - ::com::sun::star::uno::UNO_QUERY_THROW ); + css::uno::UNO_QUERY_THROW ); create_deep_vector( xChildNode, rVector ); } } } } - catch( ::com::sun::star::uno::Exception& ) + catch( css::uno::Exception& ) { } } |