diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-29 20:48:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-30 11:43:28 +0100 |
commit | c625058886f6aec0bff2df29647688c213d57877 (patch) | |
tree | 6ad7c7a8c138555a4873616fe4379c5cd3219a04 /sdext | |
parent | e889874bf89c2e11a3c07b052cea6f0988a5a671 (diff) |
coverity#1210167 Uninitialized scalar field
Change-Id: Ibc314d95e2b673995a4c089f6e132a43c3706e9b
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/tree/genericelements.hxx | 11 |
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; |