forms/source/xforms/convert.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ec70331b1eaadd310fae715ff6f372748257671e Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Wed Sep 10 20:11:27 2025 +0500 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Wed Sep 10 19:41:40 2025 +0200 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 <mike.kagan...@collabora.com> 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);