summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx23
1 files changed, 17 insertions, 6 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 5774eb6b42d1..4ff1ea2046f9 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -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 ()