summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;