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/view/charttypes/VSeriesPlotter.cxx | |
parent | 3c795a953ffc36856588cd6b1dc23f7a83ac815d (diff) |
catch by const reference
Diffstat (limited to 'chart2/source/view/charttypes/VSeriesPlotter.cxx')
-rw-r--r-- | chart2/source/view/charttypes/VSeriesPlotter.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index c882e00abf32..5ba19a053012 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -494,7 +494,7 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re xPointProps->getPropertyValue( C2U( "TextRotation" ) ) >>= fRotationDegrees; } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -611,7 +611,7 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re xTextShape->setPosition( aNewTextPos ); } } - catch( uno::Exception& e ) + catch( const uno::Exception& e ) { ASSERT_EXCEPTION( e ); } @@ -700,7 +700,7 @@ double lcl_getErrorBarLogicLength( break; } } - catch( uno::Exception & e ) + catch( const uno::Exception & e ) { ASSERT_EXCEPTION( e ); } @@ -912,7 +912,7 @@ void VSeriesPlotter::createErrorBar( uno::Reference< drawing::XShape > xShape = m_pShapeFactory->createLine2D( xTarget, PolyToPointSequence( aPoly) ); this->setMappedProperties( xShape, xErrorBarProperties, PropertyMapper::getPropertyNameMapForLineProperties() ); } - catch( uno::Exception & e ) + catch( const uno::Exception & e ) { ASSERT_EXCEPTION( e ); } @@ -2205,7 +2205,7 @@ std::vector< ViewLegendEntry > VSeriesPlotter::createLegendEntriesForSeries( } } } - catch( uno::Exception & ex ) + catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); } |