summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-15 14:47:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-15 14:48:12 +0100
commitb128f8f0bcd5f5378c559c8fdd506cfb51ff09b3 (patch)
treef10bbf84916e342436e2e00b433a9bae73f76df1
parent96775f3e3c33a92722ee0595fb29e987029ad646 (diff)
coverity#1415097 Uninitialized scalar field
Change-Id: Id9c70160143be0bede015f07e091c25f36bb13db
-rw-r--r--sw/source/core/unocore/unoframe.cxx17
1 files changed, 8 insertions, 9 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index 162f9f7102be..2448200ba661 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -1245,17 +1245,16 @@ SwXFrame::SwXFrame(FlyCntType eSet, const ::SfxItemPropertySet* pSet, SwDoc *pDo
}
SwXFrame::SwXFrame(SwFrameFormat& rFrameFormat, FlyCntType eSet, const ::SfxItemPropertySet* pSet)
- : SwClient( &rFrameFormat )
+ : SwClient(&rFrameFormat)
, m_pImpl(new Impl)
- ,
- m_pPropSet(pSet),
- m_pDoc( nullptr ),
- eType(eSet),
- pProps(nullptr),
- bIsDescriptor(false),
- m_pCopySource(nullptr)
+ , m_pPropSet(pSet)
+ , m_pDoc(nullptr)
+ , eType(eSet)
+ , pProps(nullptr)
+ , bIsDescriptor(false)
+ , m_pCopySource(nullptr)
+ , m_nDrawAspect(embed::Aspects::MSOLE_CONTENT)
{
-
}
SwXFrame::~SwXFrame()