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

coverity#708319 Uninitialized scalar field

Change-Id: I8f817ba8fc286979f666ad06f4fe21f4703b4652
üst ce728a2f
...@@ -775,7 +775,7 @@ protected: ...@@ -775,7 +775,7 @@ protected:
class EnhWMFReader : public WinMtf class EnhWMFReader : public WinMtf
{ {
bool bRecordPath; bool bRecordPath;
sal_Int32 nRecordCount; sal_Int32 nRecordCount;
bool bEMFPlus; bool bEMFPlus;
bool ReadHeader(); bool ReadHeader();
...@@ -783,18 +783,17 @@ class EnhWMFReader : public WinMtf ...@@ -783,18 +783,17 @@ class EnhWMFReader : public WinMtf
Rectangle ReadRectangle( sal_Int32, sal_Int32, sal_Int32, sal_Int32 ); Rectangle ReadRectangle( sal_Int32, sal_Int32, sal_Int32, sal_Int32 );
public: public:
EnhWMFReader( EnhWMFReader(
SvStream& rStreamWMF, SvStream& rStreamWMF,
GDIMetaFile& rGDIMetaFile, GDIMetaFile& rGDIMetaFile,
FilterConfigItem* pConfigItem = NULL FilterConfigItem* pConfigItem = NULL)
) : WinMtf(new WinMtfOutput(rGDIMetaFile), rStreamWMF , pConfigItem)
: WinMtf( new WinMtfOutput( rGDIMetaFile ) , bRecordPath(false)
, rStreamWMF , nRecordCount(0)
, pConfigItem ) , bEMFPlus(false)
, bRecordPath( false ) {
, bEMFPlus( false ) }
{}; ~EnhWMFReader();
~EnhWMFReader();
bool ReadEnhWMF(); bool ReadEnhWMF();
void ReadEMFPlusComment(sal_uInt32 length, bool& bHaveDC); void ReadEMFPlusComment(sal_uInt32 length, bool& bHaveDC);
......
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