summaryrefslogtreecommitdiff
path: root/svtools/source/graphic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-05 09:49:43 +0200
committerNoel Grandin <noel@peralex.com>2015-11-05 09:59:30 +0200
commit3d96f1ef5556869bb60522c9cfa5c9c6f8db0a18 (patch)
treedd4a4f6f457333ff91660824b817db22c461bf10 /svtools/source/graphic
parent3fdbf5935e0aff6350e861e868c7e0a12dd1bc8f (diff)
use uno::Reference::set method instead of assignment
Change-Id: I2f8c9cb71a06f7796576509f605796624e654422
Diffstat (limited to 'svtools/source/graphic')
-rw-r--r--svtools/source/graphic/provider.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/graphic/provider.cxx b/svtools/source/graphic/provider.cxx
index d5b0a1d1173e..ca850ebc1714 100644
--- a/svtools/source/graphic/provider.cxx
+++ b/svtools/source/graphic/provider.cxx
@@ -358,7 +358,7 @@ uno::Reference< beans::XPropertySet > SAL_CALL GraphicProvider::queryGraphicDesc
if( xGraphic.is() )
{
- xRet = uno::Reference< beans::XPropertySet >( xGraphic, uno::UNO_QUERY );
+ xRet.set( xGraphic, uno::UNO_QUERY );
}
else
{
@@ -371,7 +371,7 @@ uno::Reference< beans::XPropertySet > SAL_CALL GraphicProvider::queryGraphicDesc
{
uno::Reference< ::graphic::XGraphic > xGraphic( implLoadBitmap( xBtm ) );
if( xGraphic.is() )
- xRet = uno::Reference< beans::XPropertySet >( xGraphic, uno::UNO_QUERY );
+ xRet.set( xGraphic, uno::UNO_QUERY );
}
return xRet;