From f2a3a5148256774bdd36e7550f69cde01b9c82ee Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 19 Nov 2018 13:38:48 +0100 Subject: -Werror,-Wunused-private-field Change-Id: Ic7164539420890a1dfef6ece37a1f549bced3d0e --- include/svtools/calendar.hxx | 1 - svtools/source/control/calendar.cxx | 3 +-- 2 files changed, 1 insertion(+), 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 ); } -- cgit