summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-31 20:25:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-01 10:38:22 +0100
commit19b83873886dab626503d830f91ddf67373f8541 (patch)
tree0901bac4db8f1045146dcd9a802e4a0e88b82b1f
parent0323fc8ac0bbad748e3af5ce00be591797cd32b3 (diff)
coverity#708454 Uninitialized pointer field
Change-Id: Ie71618fb2001b1d8ce1af6e8ffb728645dae2963
-rw-r--r--sw/source/core/text/porfld.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/text/porfld.cxx b/sw/source/core/text/porfld.cxx
index e791b019d4ae..e7115793bf36 100644
--- a/sw/source/core/text/porfld.cxx
+++ b/sw/source/core/text/porfld.cxx
@@ -150,6 +150,10 @@ public:
};
SwFldSlot::SwFldSlot( const SwTxtFormatInfo* pNew, const SwFldPortion *pPor )
+ : pOldTxt(NULL)
+ , nIdx(0)
+ , nLen(0)
+ , pInf(NULL)
{
bOn = pPor->GetExpTxt( *pNew, aTxt );