diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-09-18 22:47:03 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-09-18 22:51:19 -0400 |
commit | 5abf95a4fe4b087f962201ffd1449fb143a89813 (patch) | |
tree | 99f03d5cc994c19403ada350bda810f89d990638 | |
parent | 6ca26d642f1d7b8394d33dbd8fbdb828e6584459 (diff) |
Returned shape object is assigned but not used.
Change-Id: Icd15ce57e6d4bb5384b7508d4d3ceb9cd1038f9a
-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 ) { |