From 1aae826501c9a26d40b0827e69d84f680dff6a6b Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Tue, 29 Nov 2011 02:06:57 +0900 Subject: catch by const reference --- chart2/source/model/template/BubbleDataInterpreter.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chart2/source/model/template/BubbleDataInterpreter.cxx') diff --git a/chart2/source/model/template/BubbleDataInterpreter.cxx b/chart2/source/model/template/BubbleDataInterpreter.cxx index 84d8407e1015..d7e6eae6c464 100644 --- a/chart2/source/model/template/BubbleDataInterpreter.cxx +++ b/chart2/source/model/template/BubbleDataInterpreter.cxx @@ -125,7 +125,7 @@ chart2::InterpretedData SAL_CALL BubbleDataInterpreter::interpretDataSource( bNextIsYValues = (nDataSeqCount-(nDataIdx+1)) >= 2;//two or more left } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -273,7 +273,7 @@ chart2::InterpretedData SAL_CALL BubbleDataInterpreter::reinterpretDataSeries( xSink->setData( aNewSequences ); } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -296,7 +296,7 @@ sal_Bool SAL_CALL BubbleDataInterpreter::isDataCompatible( if( aSeq.getLength() != 3 ) return sal_False; } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } -- cgit