diff options
Diffstat (limited to 'xmloff/source/text')
-rw-r--r-- | xmloff/source/text/XMLChangedRegionImportContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtflde.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtfldi.cxx | 7 |
3 files changed, 5 insertions, 6 deletions
diff --git a/xmloff/source/text/XMLChangedRegionImportContext.cxx b/xmloff/source/text/XMLChangedRegionImportContext.cxx index 29b118fcb08a..bf29d7390efd 100644 --- a/xmloff/source/text/XMLChangedRegionImportContext.cxx +++ b/xmloff/source/text/XMLChangedRegionImportContext.cxx @@ -159,7 +159,7 @@ void XMLChangedRegionImportContext::SetChangeInfo( const OUString& rDate) { util::DateTime aDateTime; - if (::sax::Converter::parseDateTime(aDateTime, nullptr, rDate)) + if (::sax::Converter::parseDateTime(aDateTime, rDate)) { GetImport().GetTextImport()->RedlineAdd( rType, sID, rAuthor, rComment, aDateTime, bMergeLastPara); diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx index 6cc0690a35d7..620c69a6cc75 100644 --- a/xmloff/source/text/txtflde.cxx +++ b/xmloff/source/text/txtflde.cxx @@ -2639,7 +2639,7 @@ void XMLTextFieldExport::ProcessTimeOrDateTime(enum XMLTokenEnum eName, OUStringBuffer aBuffer; // date/time value - ::sax::Converter::convertTimeOrDateTime(aBuffer, rTime, nullptr); + ::sax::Converter::convertTimeOrDateTime(aBuffer, rTime); // output attribute ProcessString(eName, aBuffer.makeStringAndClear(), true); 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())) { /* |