coverity#738575 Uninitialized pointer field

Change-Id: Ib65f0e95ef2a837b6c5791d9e2dce5fe8025da33
This commit is contained in:
Caolán McNamara 2014-04-28 09:16:18 +01:00
parent b3e332b4a7
commit 76f74ef908

View File

@ -360,13 +360,24 @@ namespace cppcanvas
public:
EMFPBrush ()
: type(0)
, additionalFlags(0)
, wrapMode(0)
, areaX(0.0)
, areaY(0.0)
, areaWidth(0.0)
, areaHeight(0.0)
, hasTransformation(false)
, blendPoints(0)
, blendPositions(NULL)
, blendFactors(NULL)
, colorblendPoints(0)
, colorblendPositions(NULL)
, colorblendColors(NULL)
, surroundColorsNumber(0)
, surroundColors(NULL)
, path(NULL)
{
blendPositions = NULL;
colorblendPositions = NULL;
colorblendColors = NULL;
surroundColors = NULL;
path = NULL;
hasTransformation = false;
}
virtual ~EMFPBrush ()