coverity#708727 Uninitialized pointer field

Change-Id: I816f7e239f83c35666101aac057912dd7e65ecff
This commit is contained in:
Caolán McNamara
2014-04-30 12:30:34 +01:00
parent ac7f1147b7
commit ca03d495a0

View File

@@ -70,8 +70,9 @@ XmlReader::XmlReader(char const *sStr, size_t nLength)
XmlReader::XmlReader(OUString const & fileUrl)
SAL_THROW((
css::container::NoSuchElementException, css::uno::RuntimeException)):
fileUrl_(fileUrl)
css::container::NoSuchElementException, css::uno::RuntimeException))
: fileUrl_(fileUrl)
, fileHandle_(0)
{
oslFileError e = osl_openFile(
fileUrl_.pData, &fileHandle_, osl_File_OpenFlag_Read);