summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-07-15 17:23:26 +0200
committerEike Rathke <erack@redhat.com>2014-07-15 17:31:25 +0200
commit9d929e5682b2dd70c6ede90d117fa3f24fb01f86 (patch)
tree79b25ab1e030a4623bb73af70f51b7a6c3651a8f /sc
parent94b3b4fdf1023396287894c0d985683b48f55099 (diff)
CID#703986 Unchecked return value (CHECKED_RETURN)
Change-Id: I44149fca38e36be6d4302b2af93e72ae9093796a
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index f1d2227f59e5..544f173ea558 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -2608,10 +2608,10 @@ void ScInterpreter::ScIsNV()
case svSingleRef :
{
ScAddress aAdr;
- PopDoubleRefOrSingleRef( aAdr );
+ bool bOk = PopDoubleRefOrSingleRef( aAdr );
if ( nGlobalError == NOTAVAILABLE )
nRes = true;
- else
+ else if (bOk)
{
ScRefCellValue aCell;
aCell.assign(*pDok, aAdr);