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/RangeSelectionHelper.cxx | |
parent | removed dead code (diff) | |
download | core-1aae826501c9a26d40b0827e69d84f680dff6a6b.tar.gz core-1aae826501c9a26d40b0827e69d84f680dff6a6b.zip |
catch by const reference
Diffstat (limited to 'chart2/source/controller/dialogs/RangeSelectionHelper.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/RangeSelectionHelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/RangeSelectionHelper.cxx b/chart2/source/controller/dialogs/RangeSelectionHelper.cxx index a5183943a13a..be7783ca11f7 100644 --- a/chart2/source/controller/dialogs/RangeSelectionHelper.cxx +++ b/chart2/source/controller/dialogs/RangeSelectionHelper.cxx @@ -78,7 +78,7 @@ Reference< sheet::XRangeSelection > RangeSelectionHelper::getRangeSelection() if( xDataProvider.is()) m_xRangeSelection.set( xDataProvider->getRangeSelection()); } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); @@ -109,7 +109,7 @@ void RangeSelectionHelper::raiseRangeSelectionDocument() } } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -155,7 +155,7 @@ bool RangeSelectionHelper::chooseRange( xRangeSel->startRangeSelection( aArgs ); } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { bResult = false; ASSERT_EXCEPTION( ex ); |