summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-15 20:21:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-16 11:23:10 +0100
commitaebeb43d0ea3920e49119fc406fdd61d851b6208 (patch)
tree20236ddc7fc6418a6ac4966948a57383dcd80782
parent73bae2f2c38dd07d48b03eb5713a3f14ba1dbbb2 (diff)
coverity#1202970 Uninitialized scalar field
Change-Id: I79c1cb576973e517893d69503613023c791faf35
-rw-r--r--sw/source/core/doc/number.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx
index 8a2b4bee2427..2397942221a1 100644
--- a/sw/source/core/doc/number.cxx
+++ b/sw/source/core/doc/number.cxx
@@ -190,9 +190,10 @@ SwNumFmt::SwNumFmt( const SwNumFmt& rFmt) :
&eMyVertOrient);
}
-SwNumFmt::SwNumFmt(const SvxNumberFormat& rNumFmt, SwDoc* pDoc) :
- SvxNumberFormat(rNumFmt),
- pVertOrient(new SwFmtVertOrient( 0, rNumFmt.GetVertOrient()))
+SwNumFmt::SwNumFmt(const SvxNumberFormat& rNumFmt, SwDoc* pDoc)
+ : SvxNumberFormat(rNumFmt)
+ , pVertOrient(new SwFmtVertOrient( 0, rNumFmt.GetVertOrient()))
+ , cGrfBulletCP(USHRT_MAX)
{
sal_Int16 eMyVertOrient = rNumFmt.GetVertOrient();
SetGraphicBrush( rNumFmt.GetBrush(), &rNumFmt.GetGraphicSize(),
@@ -213,7 +214,6 @@ SwNumFmt::SwNumFmt(const SvxNumberFormat& rNumFmt, SwDoc* pDoc) :
}
else if( GetRegisteredIn() )
GetRegisteredInNonConst()->Remove( this );
-
}
SwNumFmt::~SwNumFmt()