catch by const ref
This commit is contained in:
parent
697415eb4e
commit
5a4c200bb7
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ IniParser::IniParser(OUString const & rIniName) throw(com::sun::star::io::IOExce
|
||||||
if (!iniUrl.isEmpty())
|
if (!iniUrl.isEmpty())
|
||||||
fileError = osl_openFile(iniUrl.pData, &handle, osl_File_OpenFlag_Read);
|
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
|
#if OSL_DEBUG_LEVEL > 0
|
||||||
OString file_tmp = OUStringToOString(iniUrl, RTL_TEXTENCODING_ASCII_US);
|
OString file_tmp = OUStringToOString(iniUrl, RTL_TEXTENCODING_ASCII_US);
|
||||||
|
|
Loading…
Reference in a new issue