summaryrefslogtreecommitdiff
path: root/svx/source/core/graphichelper.cxx
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 /svx/source/core/graphichelper.cxx
parent3fdbf5935e0aff6350e861e868c7e0a12dd1bc8f (diff)
use uno::Reference::set method instead of assignment
Change-Id: I2f8c9cb71a06f7796576509f605796624e654422
Diffstat (limited to 'svx/source/core/graphichelper.cxx')
-rw-r--r--svx/source/core/graphichelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx
index 70df0c9d618f..954766e30a2f 100644
--- a/svx/source/core/graphichelper.cxx
+++ b/svx/source/core/graphichelper.cxx
@@ -268,7 +268,7 @@ void GraphicHelper::SaveShapeAsGraphic( const Reference< drawing::XShape >& xSha
aDescriptor[1].Name = "URL";
aDescriptor[1].Value <<= sPath;
- Reference< XComponent > xSourceDocument = Reference< XComponent >( xShape, UNO_QUERY_THROW );
+ Reference< XComponent > xSourceDocument( xShape, UNO_QUERY_THROW );
if ( xSourceDocument.is() )
{
xGraphicExporter->setSourceDocument( xSourceDocument );