sc/source/core/tool/doubleref.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a3baa68980307b7d0d19515f2f69583d4fd6833c
Author: Noel Grandin <n...@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.mohrh...@googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrh...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to