diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-07-31 18:41:58 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-07-31 18:41:58 +0200 |
commit | a751a0c74d455ad7dc17932163a42788e2b75786 (patch) | |
tree | 0d4c7efbd7eb288dee75125cc203d3027b5de564 /scripting/source/runtimemgr | |
parent | 470b293417a84a6786ff99dcd3e8b71567b2913a (diff) |
Some cppcheck cleaning
Diffstat (limited to 'scripting/source/runtimemgr')
-rw-r--r-- | scripting/source/runtimemgr/StorageBridge.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/runtimemgr/StorageBridge.cxx b/scripting/source/runtimemgr/StorageBridge.cxx index c81dba2c825f..3b9a774556fd 100644 --- a/scripting/source/runtimemgr/StorageBridge.cxx +++ b/scripting/source/runtimemgr/StorageBridge.cxx @@ -104,7 +104,7 @@ throw ( lang::IllegalArgumentException, { results = m_xScriptInfoAccess->getScriptLogicalNames(); } - catch ( Exception e ) + catch ( Exception &e ) { OUString temp = OUSTR( "StorageBridge::getScriptLogicalNames: " ); throw RuntimeException( temp.concat( e.Message ), Reference< XInterface >() ); @@ -123,7 +123,7 @@ throw ( lang::IllegalArgumentException, RuntimeException ) { results = m_xScriptInfoAccess->getImplementations( queryURI ); } - catch ( Exception e ) + catch ( Exception &e ) { OUString temp = OUSTR( "StorageBridge::getImplementations: " ); throw RuntimeException( temp.concat( e.Message ), Reference< XInterface >() ); |