summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-21 11:29:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-21 12:40:32 +0000
commit537a6be2a81255ec4f1f90c6f5fa699f00356a88 (patch)
tree821ddaaaec5fdd713f506d4599a0bf864b8c1831
parent105cd45a98574c0b90c6cc36c9db184c6b499758 (diff)
coverity#708720 Uninitialized scalar field
Change-Id: I62a103fb6c194f7e5cf88495be39759e349366f7
-rw-r--r--xmloff/source/text/txtfldi.cxx16
1 files changed, 9 insertions, 7 deletions
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index 56c94884afd1..9f5c10fcac35 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -1814,13 +1814,15 @@ TYPEINIT1( XMLDateTimeDocInfoImportContext, XMLSimpleDocInfoImportContext );
XMLDateTimeDocInfoImportContext::XMLDateTimeDocInfoImportContext(
SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx,
const OUString& sLocalName, sal_uInt16 nToken)
-: XMLSimpleDocInfoImportContext(rImport, rHlp, nPrfx, sLocalName,nToken, sal_False, sal_False)
-, sPropertyNumberFormat(sAPI_number_format)
-, sPropertyIsDate(sAPI_is_date)
-, sPropertyIsFixedLanguage(sAPI_is_fixed_language)
-, nFormat(0)
-, bFormatOK(sal_False)
-, bIsDefaultLanguage(sal_True)
+ : XMLSimpleDocInfoImportContext(rImport, rHlp, nPrfx, sLocalName,nToken, sal_False, sal_False)
+ , sPropertyNumberFormat(sAPI_number_format)
+ , sPropertyIsDate(sAPI_is_date)
+ , sPropertyIsFixedLanguage(sAPI_is_fixed_language)
+ , nFormat(0)
+ , bFormatOK(sal_False)
+ , bIsDate(false)
+ , bHasDateTime(false)
+ , bIsDefaultLanguage(sal_True)
{
// we allow processing of EDIT_DURATION here, because import of actual
// is not supported anyway. If it was, we'd need an extra import class