diff options
author | PKEuS <philipp.kloke@web.de> | 2012-02-05 11:53:47 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-02-05 14:29:54 +0100 |
commit | ba5a460bc15393cc64522f288b7b2b678d6fcc99 (patch) | |
tree | a4a322e415f301aa5d253f6578983d7ca5cbce72 /chart2 | |
parent | 32fa7e9208b2053d2ff7743b88b0c0edacb8a7e7 (diff) |
Fixed cppcheck messages about rethrowing copy of exception.
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/WrappedPropertySet.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/chart2/source/tools/WrappedPropertySet.cxx b/chart2/source/tools/WrappedPropertySet.cxx index fffe6549e227..d5c4c0ea77b2 100644 --- a/chart2/source/tools/WrappedPropertySet.cxx +++ b/chart2/source/tools/WrappedPropertySet.cxx @@ -124,25 +124,25 @@ void SAL_CALL WrappedPropertySet::setPropertyValue( const OUString& rPropertyNam #endif } } - catch( const beans::UnknownPropertyException& ex ) + catch( const beans::UnknownPropertyException& ) { - throw ex; + throw; } - catch( const beans::PropertyVetoException& ex ) + catch( const beans::PropertyVetoException& ) { - throw ex; + throw; } - catch( const lang::IllegalArgumentException& ex ) + catch( const lang::IllegalArgumentException& ) { - throw ex; + throw; } - catch( const lang::WrappedTargetException& ex ) + catch( const lang::WrappedTargetException& ) { - throw ex; + throw; } - catch( const uno::RuntimeException& ex ) + catch( const uno::RuntimeException& ) { - throw ex; + throw; } catch( const uno::Exception& ex ) { @@ -173,17 +173,17 @@ Any SAL_CALL WrappedPropertySet::getPropertyValue( const OUString& rPropertyName #endif } } - catch( const beans::UnknownPropertyException& ex ) + catch( const beans::UnknownPropertyException& ) { - throw ex; + throw; } - catch( const lang::WrappedTargetException& ex ) + catch( const lang::WrappedTargetException& ) { - throw ex; + throw; } - catch( const uno::RuntimeException& ex ) + catch( const uno::RuntimeException& ) { - throw ex; + throw; } catch( const uno::Exception& ex ) { |