diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-05 13:26:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-05 13:32:17 +0200 |
commit | 9e8ff13eb2405f7e3dcb4f90cb38e9e4b1da2bd5 (patch) | |
tree | ea4cd1922080d73b82a5b4bd4796d6190430f3fa /xmloff/source/draw/ximppage.cxx | |
parent | 281296330735158d6265e0b146b5d5301f6e610e (diff) |
use uno::Reference::set method instead of assignment
Change-Id: I60e52ef2abc3107ba77e81811dfe1bffbfd77218
Diffstat (limited to 'xmloff/source/draw/ximppage.cxx')
-rw-r--r-- | xmloff/source/draw/ximppage.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx index 678109e099d1..3d33780220cf 100644 --- a/xmloff/source/draw/ximppage.cxx +++ b/xmloff/source/draw/ximppage.cxx @@ -382,8 +382,7 @@ void SdXMLGenericPageContext::SetStyle( OUString& rStyleName ) Reference< lang::XMultiServiceFactory > xServiceFact(GetSdImport().GetModel(), uno::UNO_QUERY); if(xServiceFact.is()) { - xBackgroundSet = Reference< beans::XPropertySet >::query( - xServiceFact->createInstance("com.sun.star.drawing.Background")); + xBackgroundSet.set(xServiceFact->createInstance("com.sun.star.drawing.Background"), UNO_QUERY); } } @@ -595,7 +594,7 @@ void SdXMLGenericPageContext::SetNavigationOrder() if( !aEnumerator.getNextToken(sId) ) break; - aShapes[nIndex] = Reference< XShape >( rIdMapper.getReference( sId ), UNO_QUERY ); + aShapes[nIndex].set( rIdMapper.getReference( sId ), UNO_QUERY ); } for( nIndex = 0; nIndex < nCount; ++nIndex ) |