sc/source/filter/xml/XMLCalculationSettingsContext.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 8480e15f854cfc0a6b99a6b28f794465d0fb8253 Author: Eike Rathke <er...@redhat.com> AuthorDate: Thu Jun 30 02:06:06 2022 +0200 Commit: Eike Rathke <er...@redhat.com> CommitDate: Thu Jun 30 23:44:23 2022 +0200 Ignoring invalid NullDate is worth a warning Change-Id: Ie29151ab17b947561c96512e5128edbfdeaa226b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136662 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Jenkins diff --git a/sc/source/filter/xml/XMLCalculationSettingsContext.cxx b/sc/source/filter/xml/XMLCalculationSettingsContext.cxx index 43da1437eb5c..d5e214b7c20d 100644 --- a/sc/source/filter/xml/XMLCalculationSettingsContext.cxx +++ b/sc/source/filter/xml/XMLCalculationSettingsContext.cxx @@ -158,6 +158,10 @@ ScXMLNullDateContext::ScXMLNullDateContext( ScXMLImport& rImport, aDate.Year = aDateTime.Year; pCalcSet->SetNullDate(aDate); } + else + { + SAL_WARN("sc.filter","ignoring invalid NullDate '" << aIter.toView() << "'"); + } } }