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/itemsetwrapper/ErrorBarItemConverter.cxx | |
parent | removed dead code (diff) | |
download | core-1aae826501c9a26d40b0827e69d84f680dff6a6b.tar.gz core-1aae826501c9a26d40b0827e69d84f680dff6a6b.zip |
catch by const reference
Diffstat (limited to 'chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx')
-rw-r--r-- | chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx b/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx index 5d525b7c40c8..c9d290e04d33 100644 --- a/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx @@ -68,7 +68,7 @@ void lcl_getErrorValues( const uno::Reference< beans::XPropertySet > & xErrorBar xErrorBarProp->getPropertyValue( C2U( "PositiveError" )) >>= rOutPosError; xErrorBarProp->getPropertyValue( C2U( "NegativeError" )) >>= rOutNegError; } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } @@ -86,7 +86,7 @@ void lcl_getErrorIndicatorValues( xErrorBarProp->getPropertyValue( C2U( "ShowPositiveError" )) >>= rOutShowPosError; xErrorBarProp->getPropertyValue( C2U( "ShowNegativeError" )) >>= rOutShowNegError; } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } |