summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/chartsh.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-04 15:36:18 +0200
committerNoel Grandin <noel@peralex.com>2015-11-05 07:41:29 +0200
commit0eb9f56db5dad711f12283d097e1d56a801ba526 (patch)
tree5f3d939447347f8b44921ce23f8d0b261e64ead2 /sc/source/ui/drawfunc/chartsh.cxx
parenta17cfe9de14d83c28cae142a64782387dcaa4864 (diff)
use uno::Reference::set method instead of assignment
Change-Id: I2b592fd3327f4bbe4685e84711dc9d6f19222a97
Diffstat (limited to 'sc/source/ui/drawfunc/chartsh.cxx')
-rw-r--r--sc/source/ui/drawfunc/chartsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/chartsh.cxx b/sc/source/ui/drawfunc/chartsh.cxx
index 1fb50a91877c..9e08c74498c1 100644
--- a/sc/source/ui/drawfunc/chartsh.cxx
+++ b/sc/source/ui/drawfunc/chartsh.cxx
@@ -97,7 +97,7 @@ void ScChartShell::ExecuteExportAsGraphic( SfxRequest& )
if( pObject && dynamic_cast<const SdrOle2Obj*>( pObject) != nullptr )
{
- Reference< drawing::XShape > xSourceDoc = Reference< drawing::XShape >( pObject->getUnoShape(), UNO_QUERY_THROW );
+ Reference< drawing::XShape > xSourceDoc( pObject->getUnoShape(), UNO_QUERY_THROW );
GraphicHelper::SaveShapeAsGraphic( xSourceDoc );
}
}