summaryrefslogtreecommitdiff
path: root/xmloff/source/transform
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-21 11:27:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-21 12:40:32 +0000
commit43403d14c2c0f89845fa5a6816bc1b67f54d1830 (patch)
tree0979ca80bde39c635383c13fe2252516cfa323a3 /xmloff/source/transform
parentcb232b41cd4a3c1872c3b3dffcad556810b9c441 (diff)
coverity#708725 Uninitialized scalar field
Change-Id: I65f2b71422cdb62e2bc29c4825c0cede590720f4
Diffstat (limited to 'xmloff/source/transform')
-rw-r--r--xmloff/source/transform/StyleOASISTContext.cxx24
1 files changed, 11 insertions, 13 deletions
diff --git a/xmloff/source/transform/StyleOASISTContext.cxx b/xmloff/source/transform/StyleOASISTContext.cxx
index 5069ec0ea58c..3d2ed2f98967 100644
--- a/xmloff/source/transform/StyleOASISTContext.cxx
+++ b/xmloff/source/transform/StyleOASISTContext.cxx
@@ -743,23 +743,21 @@ OUString XMLPropertiesTContext_Impl::MergeLineThrough(
TYPEINIT1( XMLStyleOASISTContext, XMLPersElemContentTContext );
-XMLStyleOASISTContext::XMLStyleOASISTContext( XMLTransformerBase& rImp,
- const OUString& rQName,
- sal_Bool bPersistent ) :
- XMLPersElemContentTContext ( rImp, rQName ),
- m_bPersistent( bPersistent ),
- m_bControlStyle( false )
+XMLStyleOASISTContext::XMLStyleOASISTContext(XMLTransformerBase& rImp,
+ const OUString& rQName, sal_Bool bPersistent)
+ : XMLPersElemContentTContext(rImp, rQName)
+ , m_bPersistent(bPersistent)
+ , m_bControlStyle(false)
{
}
XMLStyleOASISTContext::XMLStyleOASISTContext(
- XMLTransformerBase& rImp,
- const OUString& rQName,
- sal_uInt16 nPrefix,
- ::xmloff::token::XMLTokenEnum eToken,
- sal_Bool bPersistent ) :
- XMLPersElemContentTContext( rImp, rQName, nPrefix, eToken ),
- m_bPersistent( bPersistent )
+ XMLTransformerBase& rImp, const OUString& rQName,
+ sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken,
+ sal_Bool bPersistent)
+ : XMLPersElemContentTContext(rImp, rQName, nPrefix, eToken)
+ , m_bPersistent(bPersistent)
+ , m_bControlStyle(false)
{
}