diff options
-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 } |