diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-13 11:22:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-13 20:35:44 +0100 |
commit | ff84296937348876dde9cf2690ca2ac44b7fa2d0 (patch) | |
tree | 723c329682b7d7a800c8331da1795f8cf2b4b53a /chart2/workbench/addin/sampleaddin.cxx | |
parent | a3c057dd709b1bdc4a5810ff82daf5735c384142 (diff) |
catch by const reference
Diffstat (limited to 'chart2/workbench/addin/sampleaddin.cxx')
-rw-r--r-- | chart2/workbench/addin/sampleaddin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/workbench/addin/sampleaddin.cxx b/chart2/workbench/addin/sampleaddin.cxx index 6d8dd50c9eb0..dc28147c7eae 100644 --- a/chart2/workbench/addin/sampleaddin.cxx +++ b/chart2/workbench/addin/sampleaddin.cxx @@ -71,7 +71,7 @@ sal_Bool SAL_CALL component_writeInfo( return sal_True; } - catch( registry::InvalidRegistryException& ) + catch( const registry::InvalidRegistryException& ) { OSL_FAIL( "### InvalidRegistryException!" ); } @@ -163,7 +163,7 @@ sal_Bool SampleAddIn::getLogicalPosition( uno::Reference< drawing::XShape >& xAx bRet = sal_True; } } - catch( beans::UnknownPropertyException ) + catch( const beans::UnknownPropertyException& ) { // the shape xAxis was no chart axis } |