summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-12 15:18:50 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-09-12 20:22:39 +0000
commita3baa68980307b7d0d19515f2f69583d4fd6833c (patch)
tree137df846270ccf5ed4506a8f35fa212749173cb3 /sc
parent57f2d719f37d5d8a4ee9a3bded8faee9011ac305 (diff)
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 <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/doubleref.cxx2
1 files changed, 1 insertions, 1 deletions
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);