summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_datetimepicker.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-12-14 13:07:47 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-14 13:07:47 -0800
commit727a304f2ab5b72846186af0e75e6c047de0a13c (patch)
treebac247223dd7f43e7da029cd6f7e2bc0878fe0f3 /xfa/fwl/cfwl_datetimepicker.h
parentbe5f0297256ba3c597dd32eb7eefef57fbd8e201 (diff)
downloadpdfium-727a304f2ab5b72846186af0e75e6c047de0a13c.tar.xz
This CL removes some of the unused CFWL widget flags.
Several of the widgets have flags which are no longer set. This CL removes the flags and any flag conditional code. Review-Url: https://codereview.chromium.org/2570083002
Diffstat (limited to 'xfa/fwl/cfwl_datetimepicker.h')
-rw-r--r--xfa/fwl/cfwl_datetimepicker.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/xfa/fwl/cfwl_datetimepicker.h b/xfa/fwl/cfwl_datetimepicker.h
index 8c9d70ce75..47d1c70fc3 100644
--- a/xfa/fwl/cfwl_datetimepicker.h
+++ b/xfa/fwl/cfwl_datetimepicker.h
@@ -15,22 +15,17 @@
#include "xfa/fwl/cfwl_widget.h"
#include "xfa/fwl/cfwl_widgetproperties.h"
-#define FWL_STYLEEXT_DTP_AllowEdit (1L << 0)
-#define FWL_STYLEEXT_DTP_LongDateFormat (0L << 1)
+#define FWL_STYLEEXT_DTP_LongDateFormat 0
#define FWL_STYLEEXT_DTP_ShortDateFormat (1L << 1)
-#define FWL_STYLEEXT_DTP_TimeFormat (2L << 1)
-#define FWL_STYLEEXT_DTP_Spin (1L << 3)
-#define FWL_STYLEEXT_DTP_EditHNear (0L << 4)
+#define FWL_STYLEEXT_DTP_EditHNear 0
#define FWL_STYLEEXT_DTP_EditHCenter (1L << 4)
#define FWL_STYLEEXT_DTP_EditHFar (2L << 4)
-#define FWL_STYLEEXT_DTP_EditVNear (0L << 6)
+#define FWL_STYLEEXT_DTP_EditVNear 0
#define FWL_STYLEEXT_DTP_EditVCenter (1L << 6)
#define FWL_STYLEEXT_DTP_EditVFar (2L << 6)
#define FWL_STYLEEXT_DTP_EditJustified (1L << 8)
-#define FWL_STYLEEXT_DTP_EditDistributed (2L << 8)
#define FWL_STYLEEXT_DTP_EditHAlignMask (3L << 4)
#define FWL_STYLEEXT_DTP_EditVAlignMask (3L << 6)
-#define FWL_STYLEEXT_DTP_EditHAlignModeMask (3L << 8)
class CFWL_DateTimeEdit;
class CFWL_FormProxy;