summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/sheetdatabuffer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 17:10:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-31 08:43:18 +0100
commit0b413caadfbe68b278ca5ba33b6d204687586ea9 (patch)
tree5eef1cc6046e0081b15b5643f83b92711fb761ef /sc/source/filter/oox/sheetdatabuffer.cxx
parente64baee9194f2bd3b7ad5e67fcab1102433fec9b (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 'sc/source/filter/oox/sheetdatabuffer.cxx')
-rw-r--r--sc/source/filter/oox/sheetdatabuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/sheetdatabuffer.cxx b/sc/source/filter/oox/sheetdatabuffer.cxx
index 9b17c3e1001f..6acc7a8724f5 100644
--- a/sc/source/filter/oox/sheetdatabuffer.cxx
+++ b/sc/source/filter/oox/sheetdatabuffer.cxx
@@ -208,7 +208,7 @@ void SheetDataBuffer::setErrorCell( const CellModel& rModel, sal_uInt8 nErrorCod
void SheetDataBuffer::setDateCell( const CellModel& rModel, const OUString& rDateString )
{
css::util::DateTime aDateTime;
- if (!sax::Converter::parseDateTime( aDateTime, nullptr, rDateString))
+ if (!sax::Converter::parseDateTime( aDateTime, rDateString))
{
SAL_WARN("sc.filter", "SheetDataBuffer::setDateCell - could not parse: " << rDateString);
// At least don't lose data.