summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/AbstractShapeFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/main/AbstractShapeFactory.cxx')
-rw-r--r--chart2/source/view/main/AbstractShapeFactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/AbstractShapeFactory.cxx b/chart2/source/view/main/AbstractShapeFactory.cxx
index c8e229580605..63fd319b43bb 100644
--- a/chart2/source/view/main/AbstractShapeFactory.cxx
+++ b/chart2/source/view/main/AbstractShapeFactory.cxx
@@ -130,7 +130,7 @@ uno::Reference< drawing::XShapes > AbstractShapeFactory::getChartRootShape(
{
if( AbstractShapeFactory::getShapeName( xShape ) == "com.sun.star.chart2.shapes" )
{
- xRet = uno::Reference< drawing::XShapes >( xShape, uno::UNO_QUERY );
+ xRet.set( xShape, uno::UNO_QUERY );
break;
}
}