diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-29 02:06:57 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-29 10:07:04 +0900 |
commit | 1aae826501c9a26d40b0827e69d84f680dff6a6b (patch) | |
tree | c229c28414e3289be9c893dba38aee793d298051 /chart2/source/controller/dialogs/DialogModel.cxx | |
parent | 3c795a953ffc36856588cd6b1dc23f7a83ac815d (diff) |
catch by const reference
Diffstat (limited to 'chart2/source/controller/dialogs/DialogModel.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/DialogModel.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chart2/source/controller/dialogs/DialogModel.cxx b/chart2/source/controller/dialogs/DialogModel.cxx index 38d619aba554..e0abe6d416a0 100644 --- a/chart2/source/controller/dialogs/DialogModel.cxx +++ b/chart2/source/controller/dialogs/DialogModel.cxx @@ -186,7 +186,7 @@ struct lcl_DataSeriesContainerAppend : public } } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -244,7 +244,7 @@ struct lcl_RolesWithRangeAppend : public } } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -443,7 +443,7 @@ Reference< data::XDataProvider > DialogModel::getDataProvider() const } } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -496,7 +496,7 @@ DialogModel::tRolesWithRanges DialogModel::getRolesWithRanges( } } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -567,7 +567,7 @@ Reference< chart2::XDataSeries > DialogModel::insertSeriesAfter( ThreeDHelper::setScheme( xDiagram, e3DScheme ); } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -595,7 +595,7 @@ Reference< data::XLabeledDataSequence > DialogModel::getCategories() const xResult.set( DiagramHelper::getCategoriesFromDiagram( xDiagram )); } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -660,7 +660,7 @@ void DialogModel::detectArguments( Reference< frame::XModel >( m_xChartDocument, uno::UNO_QUERY_THROW ), rOutRangeString, aSequenceMapping, rOutUseColumns, rOutFirstCellAsLabel, rOutHasCategories ); } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -714,7 +714,7 @@ bool DialogModel::setData( ThreeDHelper::setScheme( xDiagram, e3DScheme ); } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); return false; @@ -811,7 +811,7 @@ void DialogModel::applyInterpretedData( OSL_ASSERT( (*aDestIt).is()); (*aDestIt)->setDataSeries( *aSrcIt ); } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } |