diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-13 15:17:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-14 09:57:33 +0100 |
commit | f85076ca48e27c81cf4ce36f9b09fb55733db4ec (patch) | |
tree | 6e00adaf93aa6b5d5cc6b5087cb58fad880dc3c9 /sal/qa/rtl/logfile | |
parent | 0d51eab31fa305a702218203e9683c102cfe83a2 (diff) |
catch by const reference
Diffstat (limited to 'sal/qa/rtl/logfile')
-rw-r--r-- | sal/qa/rtl/logfile/rtl_logfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/rtl/logfile/rtl_logfile.cxx b/sal/qa/rtl/logfile/rtl_logfile.cxx index 3360fc34d8cf..2b669478d010 100644 --- a/sal/qa/rtl/logfile/rtl_logfile.cxx +++ b/sal/qa/rtl/logfile/rtl_logfile.cxx @@ -237,7 +237,7 @@ public: printf("Please remove logfile* manully! Error is Permision denied!"); #endif } - catch (CppUnit::Exception &e) + catch (const CppUnit::Exception &e) { printf("Exception caught in GlobalObject dtor(). Exception message: '%s'. Source line: %d\n", e.what(), e.sourceLine().lineNumber()); } |