summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);