diff options
-rw-r--r-- | l10ntools/source/gLang.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/gLang.cxx b/l10ntools/source/gLang.cxx index bc0776b4e73f..83177867121d 100644 --- a/l10ntools/source/gLang.cxx +++ b/l10ntools/source/gLang.cxx @@ -397,7 +397,7 @@ int main(int argc, char *argv[]) handler::showUsage(myErr); exit(-1); } - catch(string sErr) { + catch(const string& sErr) { handler::showUsage(sErr); exit(-1); } @@ -411,7 +411,7 @@ int main(int argc, char *argv[]) handler::showRunTimeError(myErr); exit(-1); } - catch(string sErr) { + catch(const string& sErr) { handler::showRunTimeError(sErr); exit(-1); } |