coverity#708296 Uninitialized pointer field

Change-Id: I05b10b0b9812a79ea8c55e5af3bcde83f24e12cf
This commit is contained in:
Caolán McNamara
2014-03-13 11:39:04 +00:00
parent 514fcf4238
commit 9a76d79dc4

View File

@@ -2389,21 +2389,19 @@ bool ImplCFieldFloatWin::Notify( NotifyEvent& rNEvt )
return FloatingWindow::Notify( rNEvt );
}
CalendarField::CalendarField( Window* pParent, WinBits nWinStyle ) :
DateField( pParent, nWinStyle ),
maDefaultDate( 0, 0, 0 )
CalendarField::CalendarField(Window* pParent, WinBits nWinStyle)
: DateField(pParent, nWinStyle)
, mpFloatWin(NULL)
, mpCalendar(NULL)
, mnCalendarStyle(0)
, mpTodayBtn(NULL)
, mpNoneBtn(NULL)
, maDefaultDate( 0, 0, 0 )
, mbToday(false)
, mbNone(false)
{
mpFloatWin = NULL;
mpCalendar = NULL;
mnCalendarStyle = 0;
mbToday = sal_False;
mbNone = sal_False;
}
CalendarField::~CalendarField()
{
if ( mpFloatWin )