diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-30 17:10:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 08:43:18 +0100 |
commit | 0b413caadfbe68b278ca5ba33b6d204687586ea9 (patch) | |
tree | 5eef1cc6046e0081b15b5643f83b92711fb761ef /xmloff/source/core | |
parent | e64baee9194f2bd3b7ad5e67fcab1102433fec9b (diff) |
loplugin:constantparam in sal,sax
Change-Id: I7ca2fd05d1cf61f9038c529a853e72fedb1c9ed0
Reviewed-on: https://gerrit.libreoffice.org/44087
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/core')
-rw-r--r-- | xmloff/source/core/DocumentSettingsContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/core/xmluconv.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx index 9b151366adb6..d53ce780fb5e 100644 --- a/xmloff/source/core/DocumentSettingsContext.cxx +++ b/xmloff/source/core/DocumentSettingsContext.cxx @@ -573,7 +573,7 @@ void XMLConfigItemContext::EndElement() else if (IsXMLToken(msType, XML_DATETIME)) { util::DateTime aDateTime; - ::sax::Converter::parseDateTime(aDateTime, nullptr, msValue); + ::sax::Converter::parseDateTime(aDateTime, msValue); mrAny <<= aDateTime; } else if (IsXMLToken(msType, XML_BASE64BINARY)) diff --git a/xmloff/source/core/xmluconv.cxx b/xmloff/source/core/xmluconv.cxx index fb22fa8281b7..0285aa3f7a3f 100644 --- a/xmloff/source/core/xmluconv.cxx +++ b/xmloff/source/core/xmluconv.cxx @@ -433,7 +433,7 @@ bool SvXMLUnitConverter::convertDateTime( double& fDateTime, const OUString& rString, const css::util::Date& aTempNullDate) { css::util::DateTime aDateTime; - bool bSuccess = ::sax::Converter::parseDateTime(aDateTime, nullptr, rString); + bool bSuccess = ::sax::Converter::parseDateTime(aDateTime, rString); if (bSuccess) { |