summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-21 11:39:08 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-21 12:40:34 +0000
commitb81e528803e495f8482c66f4d016c115a1547d83 (patch)
tree94e6499ed5bf371ddaa5d6d4a26edcb7dfb3f285 /xmloff
parente28cbd90842a1f9575a15837533917e28bb4e8e7 (diff)
coverity#708708 Uninitialized scalar field
Change-Id: I1b0f4ed24dd6c1281f2170e5b1199435ce1409f5
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/ximpstyl.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index e148ba143718..dfb7e9785d5d 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -1567,10 +1567,11 @@ SvXMLImportContext* SdXMLMasterStylesContext::CreateChildContext(
return pContext;
}
-SdXMLHeaderFooterDeclContext::SdXMLHeaderFooterDeclContext( SvXMLImport& rImport, sal_uInt16 nPrfx,
- const OUString& rLName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList )
-: SvXMLStyleContext( rImport, nPrfx, rLName, xAttrList )
+SdXMLHeaderFooterDeclContext::SdXMLHeaderFooterDeclContext(SvXMLImport& rImport,
+ sal_uInt16 nPrfx, const OUString& rLName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList)
+ : SvXMLStyleContext( rImport, nPrfx, rLName, xAttrList)
+ , mbFixed(false)
{
const sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
for(sal_Int16 i=0; i < nAttrCount; i++)