summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-19 13:33:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-20 08:26:48 +0200
commit1f73ac90da31b62ccf6f040c68e5c0150171240f (patch)
tree64efbd02ff64771f270d5d212661f91d20cadc1c
parentea537ecffa217e8ca3039998926accf27f6b12c0 (diff)
mnDateFormat in DateFormatter is unused
ever since it was added in commit c8330937878a57c74b4f3e3083c013ed0903f80d Author: Vladimir Glazounov <vg@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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--include/vcl/field.hxx1
-rw-r--r--vcl/source/control/field2.cxx1
2 files changed, 0 insertions, 2 deletions
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;
}