diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-08-24 11:22:56 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-08-24 11:30:17 +0900 |
commit | e1a1091d0ae61ba46c6d063a92db0b7d1ce65942 (patch) | |
tree | 5cd7f5ba6ad9fc1e859263332b4f96167ac927ce /basic/source/runtime/methods1.cxx | |
parent | 8dfa38c418125ad880e9d4b2a968f0f1778d6de4 (diff) |
catch ignored exceptions by const reference
Diffstat (limited to 'basic/source/runtime/methods1.cxx')
-rw-r--r-- | basic/source/runtime/methods1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 56b22cd69a5e..20191cbdcf00 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -2618,7 +2618,7 @@ void CallFunctionAccessFunction( const Sequence< Any >& aArgs, const rtl::OUStri unoToSbxValue( pRet, aRet ); } - catch( Exception& ) + catch(const Exception& ) { StarBASIC::Error( SbERR_BAD_ARGUMENT ); } |