From ec70331b1eaadd310fae715ff6f372748257671e Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Wed, 10 Sep 2025 20:11:27 +0500 Subject: [PATCH] Drop useless initialization value It is unused. ISO8601parseDate would either return false (and then the function would throw), or it would use a different default and result of parsing the string. The initializer here was confusing. Change-Id: Ia44d0755262382fa94aefe0e8c183ba3785b5fe5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190773 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- forms/source/xforms/convert.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/source/xforms/convert.cxx b/forms/source/xforms/convert.cxx index 98fd3391f220..8cf61cd2ac2c 100644 --- a/forms/source/xforms/convert.cxx +++ b/forms/source/xforms/convert.cxx @@ -118,7 +118,7 @@ namespace css::util::Date lcl_toUNODate( std::u16string_view rString ) { - css::util::Date aDate( 1, 1, 1900 ); + css::util::Date aDate; bool bWellformed = ISO8601parseDate(rString, aDate);