summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-11-19 13:38:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-11-19 13:38:48 +0100
commitf2a3a5148256774bdd36e7550f69cde01b9c82ee (patch)
treee3cfbbeba552fafcca088f64cea470ecc9978ed2
parentb51f83a1b97c71e35bfb5253432e5e2aa488d954 (diff)
-Werror,-Wunused-private-field
Change-Id: Ic7164539420890a1dfef6ece37a1f549bced3d0e
-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 );
}