vcl/source/control/fmtfield.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit f5e4232396eb5720c342bcf57b699dbdf06859c0
Author: Szymon Kłos <[email protected]>
AuthorDate: Mon Aug 26 15:54:55 2024 +0200
Commit: Szymon Kłos <[email protected]>
CommitDate: Mon Aug 26 18:10:56 2024 +0200
Revert "Add one more property to JSON object to distinguish time fields
better."
This reverts commit fa9428e82004389496f9ce18dadc8f3852b4bfce.
Reason for revert: not needed, we already have type=time for that
Change-Id: Ife646197b8d83c5b5e76d44d49f1363e1f440be1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172284
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Gökay ŞATIR <[email protected]>
diff --git a/vcl/source/control/fmtfield.cxx b/vcl/source/control/fmtfield.cxx
index fc6d70f39f2a..e8b02a29c111 100644
--- a/vcl/source/control/fmtfield.cxx
+++ b/vcl/source/control/fmtfield.cxx
@@ -1359,7 +1359,6 @@ void
FormattedField::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter)
{
// weld::TimeFormatter uses h24 format
rJsonWriter.put("type", "time");
- rJsonWriter.put("hasTimeFormatter", true);
}
rJsonWriter.put("min", rFormatter.GetMinValue());
rJsonWriter.put("max", rFormatter.GetMaxValue());