diff options
Diffstat (limited to 'xmloff/source/text/txtfldi.cxx')
-rw-r--r-- | xmloff/source/text/txtfldi.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index b63071354564..d100263d2fcf 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -989,8 +989,7 @@ void XMLTimeFieldImportContext::ProcessAttribute( { case XML_TOK_TEXTFIELD_TIME_VALUE: { - if (::sax::Converter::parseTimeOrDateTime(aDateTimeValue, nullptr, - sAttrValue)) + if (::sax::Converter::parseTimeOrDateTime(aDateTimeValue, sAttrValue)) { bTimeOK = true; } @@ -1108,7 +1107,7 @@ void XMLDateFieldImportContext::ProcessAttribute( { case XML_TOK_TEXTFIELD_DATE_VALUE: { - if (::sax::Converter::parseDateTime(aDateTimeValue, nullptr, sAttrValue)) + if (::sax::Converter::parseDateTime(aDateTimeValue, sAttrValue)) { bTimeOK = true; } @@ -3460,7 +3459,7 @@ void XMLAnnotationImportContext::PrepareField( xPropertySet->setPropertyValue("Initials", makeAny(sInitials)); util::DateTime aDateTime; - if (::sax::Converter::parseDateTime(aDateTime, nullptr, + if (::sax::Converter::parseDateTime(aDateTime, aDateBuffer.makeStringAndClear())) { /* |