summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-29 20:48:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-30 11:43:28 +0100
commitc625058886f6aec0bff2df29647688c213d57877 (patch)
tree6ad7c7a8c138555a4873616fe4379c5cd3219a04 /sdext
parente889874bf89c2e11a3c07b052cea6f0988a5a671 (diff)
coverity#1210167 Uninitialized scalar field
Change-Id: Ibc314d95e2b673995a4c089f6e132a43c3706e9b
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/tree/genericelements.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/tree/genericelements.hxx b/sdext/source/pdfimport/tree/genericelements.hxx
index 810e10adc4ca..1aedb15eb9dc 100644
--- a/sdext/source/pdfimport/tree/genericelements.hxx
+++ b/sdext/source/pdfimport/tree/genericelements.hxx
@@ -126,8 +126,15 @@ namespace pdfi
struct GraphicalElement : public Element
{
protected:
- GraphicalElement( Element* pParent, sal_Int32 nGCId )
- : Element( pParent ), GCId( nGCId ), MirrorVertical( false ), IsForText (false) {}
+ GraphicalElement(Element* pParent, sal_Int32 nGCId)
+ : Element(pParent)
+ , GCId(nGCId)
+ , MirrorVertical(false)
+ , IsForText(false)
+ , FontSize(0.0)
+ , TextStyleId(0)
+ {
+ }
public:
sal_Int32 GCId;