[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Sat Jul 15 13:49:19 UTC 2017
sw/source/core/unocore/unoframe.cxx | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
New commits:
commit b128f8f0bcd5f5378c559c8fdd506cfb51ff09b3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jul 15 14:47:01 2017 +0100
coverity#1415097 Uninitialized scalar field
Change-Id: Id9c70160143be0bede015f07e091c25f36bb13db
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()
More information about the Libreoffice-commits
mailing list