summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-23 12:55:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-23 14:28:05 +0100
commitac3b825a3c282704c07c9faba1101c494b8ca204 (patch)
tree7ea75e298d1651a24dde05cfcef6f0b6ad827311
parent7ad8842ca8d7cd4536d31fda3b3d7b9d31c8959b (diff)
coverity#707854 Uninitialized scalar field
Change-Id: I06948ae34c55482405983b613d1ab44ba10ed905
-rw-r--r--filter/source/msfilter/svdfppt.cxx17
1 files changed, 10 insertions, 7 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 17c2ed2d17ee..74588730498e 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -3301,14 +3301,14 @@ PPTExtParaProv::~PPTExtParaProv()
}
PPTNumberFormatCreator::PPTNumberFormatCreator( PPTExtParaProv* pParaProv )
- : pExtParaProv(pParaProv)
- , nIsBullet(0)
+ : nIsBullet(0)
, nBulletChar(0)
, nBulletFont(0)
, nBulletHeight(0)
, nBulletColor(0)
, nTextOfs(0)
, nBulletOfs(0)
+ , pExtParaProv(pParaProv)
{
}
@@ -4348,7 +4348,7 @@ PPTParaPropSet& PPTParaPropSet::operator=( PPTParaPropSet& rParaPropSet )
return *this;
}
-PPTCharPropSet::PPTCharPropSet( sal_uInt32 nParagraph ) :
+PPTCharPropSet::PPTCharPropSet(sal_uInt32 nParagraph)
: mnOriginalTextPos(0)
, mnParagraph(nParagraph)
, mpFieldItem(NULL)
@@ -4588,10 +4588,13 @@ PPTTextRulerInterpreter::~PPTTextRulerInterpreter()
delete mpImplRuler;
}
-PPTTextCharacterStyleAtomInterpreter::PPTTextCharacterStyleAtomInterpreter() :
- nFlags1 ( 0 ),
- nFlags2 ( 0 ),
- nFlags3 ( 0 )
+PPTTextCharacterStyleAtomInterpreter::PPTTextCharacterStyleAtomInterpreter()
+ : nFlags1(0)
+ , nFlags2(0)
+ , nFlags3(0)
+ , n1(0)
+ , nFontHeight(0)
+ , nFontColor(0)
{
}