summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/calendar.cxx22
1 files changed, 10 insertions, 12 deletions
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx
index 1a1d7bfb5c4c..c6a9fffc7615 100644
--- a/svtools/source/control/calendar.cxx
+++ b/svtools/source/control/calendar.cxx
@@ -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 )