summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/inc/sallayout.hxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx
index 2dfca1f97eaa..03f314fe1c87 100644
--- a/vcl/inc/sallayout.hxx
+++ b/vcl/inc/sallayout.hxx
@@ -291,7 +291,14 @@ struct GlyphItem
Point maLinearPos; // absolute position of non rotated string
public:
- GlyphItem() {}
+ GlyphItem()
+ : mnFlags(0)
+ , mnCharPos(0)
+ , mnOrigWidth(0)
+ , mnNewWidth(0)
+ , mnXOffset(0)
+ , maGlyphId(0)
+ {}
GlyphItem( int nCharPos, sal_GlyphId aGlyphId, const Point& rLinearPos,
long nFlags, int nOrigWidth )