diff --git a/lotuswordpro/source/filter/localtime.hxx b/lotuswordpro/source/filter/localtime.hxx index 85b000c75059..e3920296d929 100644 --- a/lotuswordpro/source/filter/localtime.hxx +++ b/lotuswordpro/source/filter/localtime.hxx @@ -67,6 +67,18 @@ struct LtTm long tm_wday; /* days since Sunday - [0,6] */ long tm_yday; /* days since January 1 - [0,365] */ long tm_isdst; /* daylight savings time flag */ + LtTm() + : tm_sec(0) + , tm_min(0) + , tm_hour(0) + , tm_mday(0) + , tm_mon(0) + , tm_year(0) + , tm_wday(0) + , tm_yday(0) + , tm_isdst(0) + { + } }; bool LtgGmTime(long rtime,LtTm& rtm); bool LtgLocalTime(long rtime,LtTm& rtm);