diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-15 13:51:29 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-15 13:52:23 +0900 |
commit | 0f44079ce20ece1931c40f62584013ac6d1668e4 (patch) | |
tree | e18d86d4feac4d33f81f03eddf12d53c4391eba9 /idlc | |
parent | 535e37abdb43cf41990fcbd0ef85315b2413c4e3 (diff) |
catch exception by constant reference
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/idlcmain.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/idlcmain.cxx b/idlc/source/idlcmain.cxx index 226a60c19f9e..f9faa7eb9739 100644 --- a/idlc/source/idlcmain.cxx +++ b/idlc/source/idlcmain.cxx @@ -49,7 +49,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) if (!options.initOptions(args)) return (0); } - catch( IllegalArgument& e) + catch(const IllegalArgument& e) { fprintf(stderr, "Illegal argument: %s\n%s", e.m_message.getStr(), |