Kaydet (Commit) 7165e133 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1338264 Uncaught exception

Change-Id: Ie9e6ad45f6d25d8a6e643d647898a5b595202590
üst cd4e97ed
......@@ -21,7 +21,7 @@
#include <rtl/byteseq.hxx>
#include <osl/diagnose.h>
IniParser::IniParser(OUString const & rIniName) throw(com::sun::star::io::IOException )
IniParser::IniParser(OUString const & rIniName) throw(com::sun::star::io::IOException, std::exception)
{
OUString iniUrl;
if (osl_File_E_None != osl_getFileURLFromSystemPath(rIniName.pData, &iniUrl.pData))
......
......@@ -59,7 +59,7 @@ class IniParser
IniSectionMap mAllSection;
public:
IniSectionMap& getAllSection() { return mAllSection; }
explicit IniParser(OUString const & rIniName) throw(com::sun::star::io::IOException);
explicit IniParser(OUString const & rIniName) throw(css::io::IOException, std::exception);
};
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment