[Libreoffice-commits] core.git: include/svtools svtools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Nov 19 12:39:17 UTC 2018


 include/svtools/calendar.hxx        |    1 -
 svtools/source/control/calendar.cxx |    3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit f2a3a5148256774bdd36e7550f69cde01b9c82ee
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Nov 19 13:38:48 2018 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Nov 19 13:38:48 2018 +0100

    -Werror,-Wunused-private-field
    
    Change-Id: Ic7164539420890a1dfef6ece37a1f549bced3d0e

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 );
 }


More information about the Libreoffice-commits mailing list