summaryrefslogtreecommitdiff
path: root/basic/source/runtime/methods1.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-08-24 11:22:56 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-08-24 11:30:17 +0900
commite1a1091d0ae61ba46c6d063a92db0b7d1ce65942 (patch)
tree5cd7f5ba6ad9fc1e859263332b4f96167ac927ce /basic/source/runtime/methods1.cxx
parent8dfa38c418125ad880e9d4b2a968f0f1778d6de4 (diff)
catch ignored exceptions by const reference
Diffstat (limited to 'basic/source/runtime/methods1.cxx')
-rw-r--r--basic/source/runtime/methods1.cxx2
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 );
}