sw/inc/flddat.hxx                 |    2 +-
 sw/source/uibase/fldui/fldmgr.cxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit b2c81dad3a0b72d305f1c6967ee4a8069ae11b45
Author:     Heiko Tietze <tietze.he...@gmail.com>
AuthorDate: Wed Jul 13 15:37:30 2022 +0200
Commit:     Heiko Tietze <heiko.tie...@documentfoundation.org>
CommitDate: Thu Jul 14 10:04:01 2022 +0200

    Relates tdf#139141 - Make variable date/time field the default
    
    Switched the fixed and variable/current field
    
    Change-Id: I18136feebed225f7645b6869d3600ee78f945bfb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137030
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org>

diff --git a/sw/inc/flddat.hxx b/sw/inc/flddat.hxx
index 39c00f68a235..6c452072e926 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 49b0584586b0..044f19b07d74 100644
--- a/sw/source/uibase/fldui/fldmgr.cxx
+++ b/sw/source/uibase/fldui/fldmgr.cxx
@@ -157,14 +157,14 @@ const TranslateId FMT_AUTHOR_ARY[] =
 
 const TranslateId FLD_DATE_ARY[] =
 {
-    FLD_DATE_FIX,
     FLD_DATE_STD,
+    FLD_DATE_FIX,
 };
 
 const TranslateId FLD_TIME_ARY[] =
 {
+    FLD_TIME_STD,
     FLD_TIME_FIX,
-    FLD_TIME_STD
 };
 
 const TranslateId FMT_NUM_ARY[] =

Reply via email to