summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svtools/calendar.hxx1
-rw-r--r--svtools/source/control/calendar.cxx3
2 files changed, 1 insertions, 3 deletions
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx
index bd52eadc1d6a..7674885dc0c0 100644
--- a/include/svtools/calendar.hxx
+++ b/include/svtools/calendar.hxx
@@ -142,7 +142,6 @@ class SVT_DLLPUBLIC Calendar final : public Control
Date maCurDate;
Date maOldCurDate;
Date maAnchorDate;
- Date const maDropDate;
Color maSelColor;
Color maOtherColor;
sal_Int32 mnDayCount;
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx
index b7de9d8ecd6a..19641fe2b2cc 100644
--- a/svtools/source/control/calendar.cxx
+++ b/svtools/source/control/calendar.cxx
@@ -143,8 +143,7 @@ Calendar::Calendar( vcl::Window* pParent, WinBits nWinStyle ) :
maOldFirstDate( 0, 0, 1900 ),
maCurDate( Date::SYSTEM ),
maOldCurDate( 0, 0, 1900 ),
- maAnchorDate( maCurDate ),
- maDropDate( 0, 0, 1900 )
+ maAnchorDate( maCurDate )
{
ImplInit( nWinStyle );
}