include/vcl/field.hxx         |    1 -
 vcl/source/control/field2.cxx |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit 1f73ac90da31b62ccf6f040c68e5c0150171240f
Author: Noel Grandin <noel.gran...@collabora.co.uk>
Date:   Wed Apr 19 13:33:47 2017 +0200

    mnDateFormat in DateFormatter is unused
    
    ever since it was added in
    
       commit c8330937878a57c74b4f3e3083c013ed0903f80d
       Author: Vladimir Glazounov <v...@openoffice.org>
       Date:   Wed Apr 11 16:52:58 2007 +0000
       INTEGRATION: CWS hedaburemove01 (1.1.2); FILE ADDED
    
    Change-Id: Iceb44ea4da620e1e7b9c9494486954db9e5d7959
    Reviewed-on: https://gerrit.libreoffice.org/36691
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index f78a565d9374..934f922411a4 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -277,7 +277,6 @@ private:
     Date                    maMax;
     bool                    mbLongFormat;
     bool                    mbShowDateCentury;
-    sal_uInt16              mnDateFormat;
     ExtDateFieldFormat      mnExtDateFormat;
     bool                    mbEnforceValidValue;
 
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index 51fc1f6607e7..da5a3aa97601 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -1415,7 +1415,6 @@ void DateFormatter::ImplInit()
     mbLongFormat        = false;
     mbShowDateCentury   = true;
     mpCalendarWrapper   = nullptr;
-    mnDateFormat        = 0xFFFF;
     mnExtDateFormat     = ExtDateFieldFormat::SystemShort;
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to