Kaydet (Commit) 8bafc17b authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: memset on union containing floating pointer number

Change-Id: I63420f0bae89bae08ae71dc7dedf92dd90ca9728
üst 5dc23d53
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment