diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-28 09:02:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-05 09:18:15 +0000 |
commit | 5a4c200bb75e9047b8780a9c1cfcad6caf3f6023 (patch) | |
tree | cfbac98f41764b1b96059a5838f65ff9e95368c3 /connectivity/source/drivers/mozab | |
parent | 697415eb4e22f6a788de55fcb2294ca8d70ebb20 (diff) |
catch by const ref
Diffstat (limited to 'connectivity/source/drivers/mozab')
-rw-r--r-- | connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx index 0bb006a9119f..6373bb7ec954 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx +++ b/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx @@ -46,7 +46,7 @@ IniParser::IniParser(OUString const & rIniName) throw(com::sun::star::io::IOExce if (!iniUrl.isEmpty()) fileError = osl_openFile(iniUrl.pData, &handle, osl_File_OpenFlag_Read); } - catch(::com::sun::star::io::IOException&) + catch(const ::com::sun::star::io::IOException&) { #if OSL_DEBUG_LEVEL > 0 OString file_tmp = OUStringToOString(iniUrl, RTL_TEXTENCODING_ASCII_US); |