summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-23 16:28:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-23 16:28:23 +0000
commitb3fd6a6d9e21f030186d304417c516d369a58a3e (patch)
tree80d5a877b63809f9ae8e9a138fa789f29196eb8b /sw
parentc5135af60f4e82fafed4557ae73a4f13435d1d61 (diff)
coverity#1158442 Uninitialized scalar field
Change-Id: I39ec7882d240703281a535f81375580d48720f5e
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/pormulti.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index 0ca8077fa01b..25d6ae92ee65 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -260,10 +260,12 @@ sal_Int32 SwBidiPortion::GetSpaceCnt( const SwTxtSizeInfo &rInf ) const
* brackets, these will be deleted.
* --------------------------------------------------*/
-SwDoubleLinePortion::SwDoubleLinePortion( SwDoubleLinePortion& rDouble,
- sal_Int32 nEnd ) :
- SwMultiPortion( nEnd ),
- pBracket( 0 )
+SwDoubleLinePortion::SwDoubleLinePortion(SwDoubleLinePortion& rDouble, sal_Int32 nEnd)
+ : SwMultiPortion(nEnd)
+ , pBracket(0)
+ , nLineDiff(0)
+ , nBlank1(0)
+ , nBlank2(0)
{
SetDirection( rDouble.GetDirection() );
SetDouble();