summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorHeiko Tietze <heiko.tietze@documentfoundation.org>2023-01-05 13:36:13 +0000
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2023-01-06 07:27:18 +0000
commitd7514d34b67626ba0b7d1dc0e9acbdfc635fe0ac (patch)
tree892e75c7911a09364bfb213ac548e5ac37c01a10 /sw
parentf011a13b3e9d3edf85fa8cb17d612934e589e672 (diff)
Revert "Relates tdf#139141 - Make variable date/time field the default"
This reverts commit b2c81dad3a0b72d305f1c6967ee4a8069ae11b45. Reason for revert: tdf#152871 Change-Id: I56f42b4ce104dbb96d8fda1bc71af727fa46d536 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145007 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/flddat.hxx2
-rw-r--r--sw/source/uibase/fldui/fldmgr.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/flddat.hxx b/sw/inc/flddat.hxx
index 6c452072e926..39c00f68a235 100644
--- a/sw/inc/flddat.hxx
+++ b/sw/inc/flddat.hxx
@@ -30,8 +30,8 @@ namespace tools { class Time; }
enum SwDateSubFormat
{
- DATE_VAR,
DATE_FIX,
+ DATE_VAR
};
class SAL_DLLPUBLIC_RTTI SwDateTimeFieldType final : public SwValueFieldType
diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx
index c0be66bfd846..8a0e81c882ec 100644
--- a/sw/source/uibase/fldui/fldmgr.cxx
+++ b/sw/source/uibase/fldui/fldmgr.cxx
@@ -159,14 +159,14 @@ const TranslateId FMT_AUTHOR_ARY[] =
const TranslateId FLD_DATE_ARY[] =
{
- FLD_DATE_STD,
FLD_DATE_FIX,
+ FLD_DATE_STD,
};
const TranslateId FLD_TIME_ARY[] =
{
- FLD_TIME_STD,
FLD_TIME_FIX,
+ FLD_TIME_STD
};
const TranslateId FMT_NUM_ARY[] =