diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 15:41:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 15:42:39 +0100 |
commit | f6d2bd87b056b187f856d380837b72f5d16522ba (patch) | |
tree | 280fb0058578d3ea9818934059c89349114de736 /vcl/source/fontsubset/fontsubset.cxx | |
parent | 6269c009ea0c4ef6037e435d8e759db954ed54fe (diff) |
coverity#708591 Uninitialized pointer field
Change-Id: Ib829316c9aa522ca846bb2c1cd5233197dba3b54
Diffstat (limited to 'vcl/source/fontsubset/fontsubset.cxx')
-rw-r--r-- | vcl/source/fontsubset/fontsubset.cxx | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/vcl/source/fontsubset/fontsubset.cxx b/vcl/source/fontsubset/fontsubset.cxx index 3be409923c83..dea870bf8218 100644 --- a/vcl/source/fontsubset/fontsubset.cxx +++ b/vcl/source/fontsubset/fontsubset.cxx @@ -23,18 +23,26 @@ #include <sft.hxx> FontSubsetInfo::FontSubsetInfo() -: m_nAscent( 0) -, m_nDescent( 0) -, m_nCapHeight( 0) -, m_nFontType( FontSubsetInfo::NO_FONT) -, mpInFontBytes( NULL) -, mnInByteLength( 0) -, meInFontType( FontSubsetInfo::NO_FONT) -, mpSftTTFont( NULL) -{} + : m_nAscent( 0) + , m_nDescent( 0) + , m_nCapHeight( 0) + , m_nFontType( FontSubsetInfo::NO_FONT) + , mpInFontBytes( NULL) + , mnInByteLength( 0) + , meInFontType( FontSubsetInfo::NO_FONT) + , mpSftTTFont( NULL) + , mnReqFontTypeMask(0) + , mpOutFile(NULL) + , mpReqFontName(NULL) + , mpReqGlyphIds(NULL) + , mpReqEncodedIds(NULL) + , mnReqGlyphCount(0) +{ +} FontSubsetInfo::~FontSubsetInfo() -{} +{ +} // prepare subsetting for fonts where the input font file is mapped bool FontSubsetInfo::LoadFont( |