summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-09-19 15:38:06 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-09-19 18:43:50 -0400
commitdb51e40450959cbd5557034663a65f973be1a167 (patch)
tree273f4b4df799fa5f85ba2fa7cf019eab610ac28b
parentaf655d2f76cf4739024832642aef4a01d5d977e1 (diff)
Remove double-conversion between awt::Rectangle and basegfx::B2IRectangle.
Change-Id: I51b1a366ca49f680f964814b0fd0fa69a6a7f5bd
-rw-r--r--chart2/source/view/main/ChartView.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index f13e6aa22199..8e8dec6ba5e4 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -1467,10 +1467,8 @@ awt::Rectangle ChartView::impl_createDiagramAndContent( SeriesPlotterContainer&
CuboidPlanePosition eBottomPos( ThreeDHelper::getAutomaticCuboidPlanePositionForStandardBottom( xSceneProperties ) );
pVCooSys->set3DWallPositions( eLeftWallPos, eBackWallPos, eBottomPos );
}
- pVCooSys->createVAxisList( xNumberFormatsSupplier
- , rPageSize //font reference size
- , BaseGFXHelper::B2IRectangleToAWTRectangle( aAvailableOuterRect ) //maximum space for labels
- );
+
+ pVCooSys->createVAxisList(xNumberFormatsSupplier, rPageSize, rParam.maRemainingSpace);
}
// - prepare list of all axis and how they are used