summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-12-15 13:51:29 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-12-15 13:52:23 +0900
commit0f44079ce20ece1931c40f62584013ac6d1668e4 (patch)
treee18d86d4feac4d33f81f03eddf12d53c4391eba9 /idlc
parent535e37abdb43cf41990fcbd0ef85315b2413c4e3 (diff)
catch exception by constant reference
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/idlcmain.cxx2
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(),