diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 15:50:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 17:19:32 +0100 |
commit | 595db7fad10595a0cb72b3be17b9eeee887e26c0 (patch) | |
tree | 3a3c22cacf75382f4c66ec5d3ba1302ad30fb465 /vcl | |
parent | 880e7587f704bf96c26388198ca32168735f2d0f (diff) |
coverity#708590 Uninitialized pointer field
Change-Id: Ibd425a4778e2d9b1feb5f54565d80673f03e8e56
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/fontsubset/cff.cxx | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx index a1d7dbd1d541..a6c9e02386fb 100644 --- a/vcl/source/fontsubset/cff.cxx +++ b/vcl/source/fontsubset/cff.cxx @@ -412,12 +412,21 @@ private: }; CffSubsetterContext::CffSubsetterContext( const U8* pBasePtr, int nBaseLen) -: mpBasePtr( pBasePtr) -, mpBaseEnd( pBasePtr+nBaseLen) -, mnStackIdx(0) -, mnHintSize(0) -, mnHorzHintSize(0) -, maCharWidth(-1) + : mpBasePtr( pBasePtr) + , mpBaseEnd( pBasePtr+nBaseLen) + , mpReadPtr(NULL) + , mpReadEnd(NULL) + , mpWritePtr(NULL) + , mbSawError(false) + , mbNeedClose(false) + , mbIgnoreHints(false) + , mnCntrMask(0) + , mpCharStringOps(NULL) + , mpCharStringEscs(NULL) + , mnStackIdx(0) + , mnHintSize(0) + , mnHorzHintSize(0) + , maCharWidth(-1) { // setCharStringType( 1); // TODO: new CffLocal[ mnFDAryCount]; |