diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-24 01:33:06 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-24 01:55:56 +0900 |
commit | c9a54f532e6fbe2302167a7f8cb829b397f2569c (patch) | |
tree | bcc192b3ecfc1a0f82642a525b34fac2318c0cec /rdbmaker | |
parent | 88b5b3688e516666fa693353a542b6c8302e6a45 (diff) |
catch exception by constant reference
Diffstat (limited to 'rdbmaker')
-rw-r--r-- | rdbmaker/source/rdbmaker/rdbmaker.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rdbmaker/source/rdbmaker/rdbmaker.cxx b/rdbmaker/source/rdbmaker/rdbmaker.cxx index fba84693b164..4a4e8ae32a60 100644 --- a/rdbmaker/source/rdbmaker/rdbmaker.cxx +++ b/rdbmaker/source/rdbmaker/rdbmaker.cxx @@ -313,7 +313,7 @@ int __cdecl main( int argc, char * argv[] ) exit(1); } } - catch( IllegalArgument& e) + catch(const IllegalArgument& e) { fprintf(stderr, "Illegal option: %s\n", e.m_message.getStr()); cleanUp(sal_True); @@ -496,7 +496,7 @@ int __cdecl main( int argc, char * argv[] ) } } } - catch( CannotDumpException& e) + catch(const CannotDumpException& e) { fprintf(stderr, "%s ERROR: %s\n", options.getProgramName().getStr(), |