summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations/CustomAnimationList.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-04 15:36:26 +0200
committerNoel Grandin <noel@peralex.com>2015-11-05 07:41:29 +0200
commit1d67ca08da4b206a52e34723551ac331808f7b29 (patch)
tree71637f3ee66499ee1d70362fc26fb6dfb52e5d9b /sd/source/ui/animations/CustomAnimationList.cxx
parent0eb9f56db5dad711f12283d097e1d56a801ba526 (diff)
use uno::Reference::set method instead of assignment
Change-Id: Ib224c60d3e5afc968bf4ef5ff58c3a71893b811c
Diffstat (limited to 'sd/source/ui/animations/CustomAnimationList.cxx')
-rw-r--r--sd/source/ui/animations/CustomAnimationList.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx
index a423945ba3e6..4df0848f3f8a 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -110,10 +110,10 @@ static sal_Int32 getShapeIndex( const Reference< XShape >& xShape )
while( xChild.is() && !xPage.is() )
{
Reference< XInterface > x( xChild->getParent() );
- xChild = Reference< XChild >::query( x );
+ xChild.set( x, UNO_QUERY );
Reference< XDrawPage > xTestPage( x, UNO_QUERY );
if( xTestPage.is() )
- xPage = Reference< XShapes >::query( x );
+ xPage.set( x, UNO_QUERY );
}
sal_Int32 nIndex = 1;