diff options
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index ccc8fc47bda5..77a70f8d0af7 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -2364,11 +2364,8 @@ void formatPage( PropertyMapper::getMultiPropertyListsFromValueMap( aNames, aValues, aNameValueMap ); AbstractShapeFactory* pShapeFactory = AbstractShapeFactory::getOrCreateShapeFactory(xShapeFactory); - uno::Reference< drawing::XShape > xShape = - pShapeFactory->createRectangle( xTarget, - rPageSize, - awt::Point( 0, 0 ), - aNames, aValues ); + pShapeFactory->createRectangle( + xTarget, rPageSize, awt::Point(0, 0), aNames, aValues); } catch( const uno::Exception & ex ) { |