Kaydet (Commit) 3b73bb51 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#738863 Uninitialized scalar field

Change-Id: I2e2c6c59d85183bb81ecd8fb7a73acdf6b17a27d
üst 290f7986
...@@ -842,21 +842,27 @@ private: ...@@ -842,21 +842,27 @@ private:
public: public:
WMFReader( WMFReader(SvStream& rStreamWMF, GDIMetaFile& rGDIMetaFile,
SvStream& rStreamWMF, FilterConfigItem* pConfigItem = NULL,
GDIMetaFile& rGDIMetaFile, WMF_EXTERNALHEADER* pExtHeader = NULL)
FilterConfigItem* pConfigItem = NULL, : WinMtf(new WinMtfOutput(rGDIMetaFile) , rStreamWMF, pConfigItem)
WMF_EXTERNALHEADER* pExtHeader = NULL , nUnitsPerInch(96)
) , nRecSize(0)
: WinMtf( new WinMtfOutput( rGDIMetaFile ), rStreamWMF, pConfigItem ) , pEMFStream(NULL)
, pEMFStream(NULL), , nEMFRecCount(0)
pExternalHeader(pExtHeader) , nEMFRec(0)
{} , nEMFSize(0)
, nSkipActions(0)
, nCurrentAction(0)
, nUnicodeEscapeAction(0)
, pExternalHeader(pExtHeader)
{
}
~WMFReader(); ~WMFReader();
// read WMF file from stream and fill the GDIMetaFile // read WMF file from stream and fill the GDIMetaFile
void ReadWMF(); void ReadWMF();
}; };
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment