diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-09-18 16:25:33 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-09-18 22:51:18 -0400 |
commit | 2eaf5095caa217131cb34863298a76245b9d6b6b (patch) | |
tree | b8f456f2ae081cb871b8552d5e792aad7ab32188 | |
parent | 7d5b30b419fb49232f3476d9fb8899fe3754d96d (diff) |
No need to instantiate B2IRectangle twice.
Change-Id: I584f3096221ff8b72ffde7ba5bce4259da64a14d
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 61ba728da93e..62b8fdd5320c 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -1501,7 +1501,7 @@ awt::Rectangle ChartView::impl_createDiagramAndContent( SeriesPlotterContainer& VCoordinateSystem* pVCooSys = rVCooSysList[0]; pVCooSys->createMaximumAxesLabels(); - aConsumedOuterRect = ::basegfx::B2IRectangle( AbstractShapeFactory::getRectangleOfShape(xBoundingShape) ); + aConsumedOuterRect = AbstractShapeFactory::getRectangleOfShape(xBoundingShape); ::basegfx::B2IRectangle aNewInnerRect( aVDiagram.getCurrentRectangle() ); if( !bUseFixedInnerSize ) aNewInnerRect = aVDiagram.adjustInnerSize( aConsumedOuterRect ); |