diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-02-25 17:52:23 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-02-25 17:59:40 +0100 |
commit | 4f4e4e40f5b79a4dba46ffedd11cafa7beb08a87 (patch) | |
tree | c158b93b176b084eac024c0e3b5e94e18911f50f /chart2 | |
parent | e39c551c6133d0ff2b7074f64ea66563ebcce14b (diff) |
loplugin: improve indentation
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/ChartTypeDialogController.cxx | 14 | ||||
-rw-r--r-- | chart2/source/controller/dialogs/res_DataLabel.cxx | 2 | ||||
-rw-r--r-- | chart2/source/controller/main/ChartController.cxx | 2 |
3 files changed, 10 insertions, 8 deletions
diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx index a03796fd42fa..0b6092d1c8d4 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx @@ -1183,13 +1183,15 @@ void CombiColumnLineChartDialogController::fillExtraControls( const ChartTypePar sal_Int32 nNumLines = 0; if(xTemplateProps.is()) - try { - xTemplateProps->getPropertyValue( "NumberOfLines" ) >>= nNumLines; - } - catch( const uno::Exception & ex ) - { - ASSERT_EXCEPTION( ex ); + try + { + xTemplateProps->getPropertyValue( "NumberOfLines" ) >>= nNumLines; + } + catch( const uno::Exception & ex ) + { + ASSERT_EXCEPTION( ex ); + } } if( nNumLines < 0 ) nNumLines = 0; diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx index a651eb8abeab..3bd3a13afc82 100644 --- a/chart2/source/controller/dialogs/res_DataLabel.cxx +++ b/chart2/source/controller/dialogs/res_DataLabel.cxx @@ -400,7 +400,7 @@ void DataLabelResources::Reset(const SfxItemSet& rInAttrs) m_aDC_Dial.SetRotation( nDegrees ); } else - m_aDC_Dial.SetRotation( 0 ); + m_aDC_Dial.SetRotation( 0 ); EnableControls(); } diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index a00d529d7411..4fe20ec4fbba 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -1016,7 +1016,7 @@ bool lcl_isFormatObjectCommand( const OString& aCommand ) || aCommand == "FormatMajorGrid" || aCommand == "FormatMinorGrid" ) - return true; + return true; // else return false; |