diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-24 17:08:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-24 17:08:37 +0000 |
commit | 8bafc17bd7426c68b97287e8ab8a5c86378eb45f (patch) | |
tree | 2ad97931c9ee81960a130f886cdaf030ea7999f4 /lotuswordpro/source | |
parent | 5dc23d533f2cbe2264b40816ddb550f227ab777d (diff) |
cppcheck: memset on union containing floating pointer number
Change-Id: I63420f0bae89bae08ae71dc7dedf92dd90ca9728
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xflineheight.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xflineheight.hxx b/lotuswordpro/source/filter/xfilter/xflineheight.hxx index d6c35b402510..7f46ade02c45 100644 --- a/lotuswordpro/source/filter/xfilter/xflineheight.hxx +++ b/lotuswordpro/source/filter/xfilter/xflineheight.hxx @@ -119,7 +119,7 @@ inline void XFLineHeight::SetSpace(double value) inline void XFLineHeight::Reset() { m_eType = enumLHNone; - memset(&m_Value, 0, sizeof(m_Value)); + m_Value.m_nValue = 0; } inline enumLHType XFLineHeight::GetType() |