diff options
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/drawing.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hwpfilter/source/drawing.h b/hwpfilter/source/drawing.h index 4a03ce47e18e..7e986455f935 100644 --- a/hwpfilter/source/drawing.h +++ b/hwpfilter/source/drawing.h @@ -677,9 +677,11 @@ int cmd, void * /*argp*/, int /*argv*/) } -HWPDrawingObject::HWPDrawingObject() +HWPDrawingObject::HWPDrawingObject(): + type(0), offset{0, 0}, offset2{0, 0}, extent{0, 0}, vrect{0, 0, 0, 0} { - memset(this, 0, sizeof(HWPDrawingObject)); + memset(&property, 0, sizeof property); + memset(&u, 0, sizeof u); index = ++count; } |