summaryrefslogtreecommitdiffstats
path: root/hwpfilter/source/hstyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/hstyle.cxx')
-rw-r--r--hwpfilter/source/hstyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hstyle.cxx b/hwpfilter/source/hstyle.cxx
index 33f143440c32..c3fb787ecd38 100644
--- a/hwpfilter/source/hstyle.cxx
+++ b/hwpfilter/source/hstyle.cxx
@@ -99,7 +99,7 @@ void HWPStyle::SetCharShape(int n, CharShape const* cshapep)
if (cshapep)
DATA[n].cshape = *cshapep;
else
- memset(&DATA[n].cshape, 0, sizeof(CharShape));
+ DATA[n].cshape = CharShape();
}
}