From a3baa68980307b7d0d19515f2f69583d4fd6833c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 12 Sep 2016 15:18:50 +0200 Subject: fix bug in ScDBExternalRange::findFieldColumn where it was calling "pErr = nullptr" instead of "*pErr = 0" Change-Id: I509381b13d00a0c1115fcf625a7363ec6f4da583 Reviewed-on: https://gerrit.libreoffice.org/28837 Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard --- sc/source/core/tool/doubleref.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/core/tool/doubleref.cxx b/sc/source/core/tool/doubleref.cxx index f55b6fe499dd..d7ff17d74f8c 100644 --- a/sc/source/core/tool/doubleref.cxx +++ b/sc/source/core/tool/doubleref.cxx @@ -436,7 +436,7 @@ SCCOL ScDBExternalRange::findFieldColumn(SCCOL nIndex) const SCCOL ScDBExternalRange::findFieldColumn(const OUString& rStr, sal_uInt16* pErr) const { if (pErr) - pErr = nullptr; + *pErr = 0; OUString aUpper = rStr; lcl_uppercase(aUpper); -- cgit