diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-22 21:20:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 03:38:49 +0000 |
commit | 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch) | |
tree | 5024cba9f9ea5e3b23ea26025323f6aef39488d0 /chart2/source/controller/dialogs | |
parent | b81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff) |
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2/source/controller/dialogs')
-rw-r--r-- | chart2/source/controller/dialogs/tp_ChartType.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index dd09bd7a3694..8fa152a4fcc4 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -1074,7 +1074,7 @@ void ChartTypeTabPage::showAllControls( ChartTypeDialogController& rTypeControll long nYPos = m_nYTopPos; - //------ + bool bShow = rTypeController.shouldShow_XAxisTypeControl(); long nXPos = m_pAxisTypeResourceGroup->getPosition().X(); m_pAxisTypeResourceGroup->showControls( bShow ); @@ -1083,7 +1083,7 @@ void ChartTypeTabPage::showAllControls( ChartTypeDialogController& rTypeControll m_pAxisTypeResourceGroup->setPosition( Point( nXPos, nYPos ) ); nYPos += m_pAxisTypeResourceGroup->getHeight() + lcl_getDistance(); } - //------ + bShow = rTypeController.shouldShow_3DLookControl(); m_pDim3DLookResourceGroup->showControls( bShow ); if(bShow) @@ -1091,7 +1091,7 @@ void ChartTypeTabPage::showAllControls( ChartTypeDialogController& rTypeControll m_pDim3DLookResourceGroup->setPosition( Point( nXPos, nYPos ) ); nYPos += m_pDim3DLookResourceGroup->getHeight() + lcl_getDistance(); } - //------ + bShow = rTypeController.shouldShow_StackingControl(); m_pStackingResourceGroup->showControls( bShow, rTypeController.shouldShow_DeepStackingControl() ); if(bShow) @@ -1102,7 +1102,7 @@ void ChartTypeTabPage::showAllControls( ChartTypeDialogController& rTypeControll m_pStackingResourceGroup->setPosition( Point( nStackingXPos, nYPos ) ); nYPos += m_pStackingResourceGroup->getHeight() + lcl_getDistance(); } - //------ + bShow = rTypeController.shouldShow_SplineControl(); m_pSplineResourceGroup->showControls( bShow ); if(bShow) @@ -1110,7 +1110,7 @@ void ChartTypeTabPage::showAllControls( ChartTypeDialogController& rTypeControll m_pSplineResourceGroup->setPosition( Point( nXPos, nYPos ) ); nYPos += m_pSplineResourceGroup->getHeight() + lcl_getDistance(); } - //------ + bShow = rTypeController.shouldShow_GeometryControl(); m_pGeometryResourceGroup->showControls( bShow ); if(bShow) @@ -1118,7 +1118,7 @@ void ChartTypeTabPage::showAllControls( ChartTypeDialogController& rTypeControll m_pGeometryResourceGroup->setPosition( Point( nXPos+17, nYPos ) ); nYPos += m_pGeometryResourceGroup->getHeight() + lcl_getDistance(); } - //------ + bShow = rTypeController.shouldShow_SortByXValuesResourceGroup(); m_pSortByXValuesResourceGroup->showControls( bShow ); if(bShow) @@ -1126,7 +1126,7 @@ void ChartTypeTabPage::showAllControls( ChartTypeDialogController& rTypeControll m_pSortByXValuesResourceGroup->setPosition( Point( nXPos, nYPos ) ); nYPos += m_pSortByXValuesResourceGroup->getHeight() + lcl_getDistance(); } - //------ + Size aPageSize( this->GetSizePixel() ); Size aRemainingSize = Size( aPageSize.Width()-nXPos, aPageSize.Height()-nYPos ); rTypeController.showExtraControls( this, Point( nXPos, nYPos ), aRemainingSize ); |