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/model/template/NetChartTypeTemplate.cxx | |
parent | 3c795a953ffc36856588cd6b1dc23f7a83ac815d (diff) |
catch by const reference
Diffstat (limited to 'chart2/source/model/template/NetChartTypeTemplate.cxx')
-rw-r--r-- | chart2/source/model/template/NetChartTypeTemplate.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/model/template/NetChartTypeTemplate.cxx b/chart2/source/model/template/NetChartTypeTemplate.cxx index 1a5bad914781..d59ef837c804 100644 --- a/chart2/source/model/template/NetChartTypeTemplate.cxx +++ b/chart2/source/model/template/NetChartTypeTemplate.cxx @@ -94,7 +94,7 @@ void SAL_CALL NetChartTypeTemplate::applyStyle( DataSeriesHelper::switchLinesOnOrOff( xProp, m_bHasLines ); DataSeriesHelper::makeLinesThickOrThin( xProp, true ); } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -159,7 +159,7 @@ sal_Bool SAL_CALL NetChartTypeTemplate::matchesTemplate( break; } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -195,7 +195,7 @@ Reference< chart2::XChartType > NetChartTypeTemplate::getChartTypeForIndex( sal_ xResult.set( xFact->createInstance( CHART2_SERVICE_NAME_CHARTTYPE_NET ), uno::UNO_QUERY_THROW ); } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } |