diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 16:30:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 16:30:08 +0000 |
commit | 03dbf44d1958e5cfec2b866ee450d3f8a6bbd370 (patch) | |
tree | b38905eec57ff456ca3d7e065603d55efb5508bc /sw | |
parent | b3fd6a6d9e21f030186d304417c516d369a58a3e (diff) |
coverity#1158441 Uninitialized scalar field
Change-Id: Ic898ce7a38000f6f07ed7116801bb463f915ca4b
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/pormulti.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx index 25d6ae92ee65..2ac0a190eebe 100644 --- a/sw/source/core/text/pormulti.cxx +++ b/sw/source/core/text/pormulti.cxx @@ -290,8 +290,12 @@ SwDoubleLinePortion::SwDoubleLinePortion(SwDoubleLinePortion& rDouble, sal_Int32 * internetstyle, which contains the 2-line-attribute. * --------------------------------------------------*/ -SwDoubleLinePortion::SwDoubleLinePortion( const SwMultiCreator& rCreate, - sal_Int32 nEnd ) : SwMultiPortion( nEnd ), pBracket( new SwBracket() ) +SwDoubleLinePortion::SwDoubleLinePortion(const SwMultiCreator& rCreate, sal_Int32 nEnd) + : SwMultiPortion(nEnd) + , pBracket(new SwBracket()) + , nLineDiff(0) + , nBlank1(0) + , nBlank2(0) { SetDouble(); const SvxTwoLinesItem* pTwo = (SvxTwoLinesItem*)rCreate.pItem; |