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/tools/RegressionCurveHelper.cxx | |
parent | removed dead code (diff) | |
download | core-1aae826501c9a26d40b0827e69d84f680dff6a6b.tar.gz core-1aae826501c9a26d40b0827e69d84f680dff6a6b.zip |
catch by const reference
Diffstat (limited to 'chart2/source/tools/RegressionCurveHelper.cxx')
-rw-r--r-- | chart2/source/tools/RegressionCurveHelper.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chart2/source/tools/RegressionCurveHelper.cxx b/chart2/source/tools/RegressionCurveHelper.cxx index 116c041edd55..cd17a4ec7347 100644 --- a/chart2/source/tools/RegressionCurveHelper.cxx +++ b/chart2/source/tools/RegressionCurveHelper.cxx @@ -207,7 +207,7 @@ void RegressionCurveHelper::initializeCurveCalculator( } } } - catch( Exception & ex ) + catch( const Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -261,7 +261,7 @@ bool RegressionCurveHelper::hasMeanValueLine( return true; } } - catch( Exception & ex ) + catch( const Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -296,7 +296,7 @@ uno::Reference< chart2::XRegressionCurve > return aCurves[i]; } } - catch( Exception & ex ) + catch( const Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -352,7 +352,7 @@ void RegressionCurveHelper::removeMeanValueLine( } } } - catch( Exception & ex ) + catch( const Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -435,7 +435,7 @@ bool RegressionCurveHelper::removeAllExceptMeanValueLine( bRemovedSomething = true; } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -469,7 +469,7 @@ void RegressionCurveHelper::removeEquations( } } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -517,7 +517,7 @@ uno::Reference< chart2::XRegressionCurve > RegressionCurveHelper::getFirstCurveN } } } - catch( Exception & ex ) + catch( const Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -564,7 +564,7 @@ RegressionCurveHelper::tRegressionType RegressionCurveHelper::getRegressionType( } } } - catch( Exception & ex ) + catch( const Exception & ex ) { ASSERT_EXCEPTION( ex ); } |