diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-01 11:11:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-01 17:19:51 +0100 |
commit | 1b546c0b480a3b62479aee3648d0f683be05375a (patch) | |
tree | 7304ee8c7039b852756a843d51b6bab00f49fc1f /vcl | |
parent | 5461d1b21804a063ec2757e79fd8bcb99a743e0f (diff) |
coverity#708576 Uninitialized scalar field
Change-Id: Ie917244b6021f16b9aecf83676131f972478237c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/sallayout.hxx | 9 |
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 ) |