[Libreoffice-commits] core.git: sc/source
Noel Grandin
noel at peralex.com
Mon Sep 12 20:23:19 UTC 2016
sc/source/core/tool/doubleref.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a3baa68980307b7d0d19515f2f69583d4fd6833c
Author: Noel Grandin <noel at peralex.com>
Date: Mon Sep 12 15:18:50 2016 +0200
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 at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/sc/source/core/tool/doubleref.cxx b/sc/source/core/tool/doubleref.cxx
index f55b6fe..d7ff17d 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);
More information about the Libreoffice-commits
mailing list