diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-09-19 15:38:06 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-09-19 18:43:50 -0400 |
commit | db51e40450959cbd5557034663a65f973be1a167 (patch) | |
tree | 273f4b4df799fa5f85ba2fa7cf019eab610ac28b /chart2/source | |
parent | af655d2f76cf4739024832642aef4a01d5d977e1 (diff) |
Remove double-conversion between awt::Rectangle and basegfx::B2IRectangle.
Change-Id: I51b1a366ca49f680f964814b0fd0fa69a6a7f5bd
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 6 |
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 |