summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-07-15 17:20:25 +0200
committerEike Rathke <erack@redhat.com>2014-07-15 17:31:25 +0200
commit94b3b4fdf1023396287894c0d985683b48f55099 (patch)
treee9fd76f481d2e4d8653aa93de23b539503cc3ecc /sc
parent6b84beb590417c6e8df024099537ddccb8a984e1 (diff)
CID#703987 Unchecked return value (CHECKED_RETURN)
Change-Id: I0e5bf12f1b874e3aa5428c92487cb58ef16c9cc3
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 e36596690936..f1d2227f59e5 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -2656,8 +2656,8 @@ void ScInterpreter::ScIsErr()
case svSingleRef :
{
ScAddress aAdr;
- PopDoubleRefOrSingleRef( aAdr );
- if ( nGlobalError && nGlobalError != NOTAVAILABLE )
+ bool bOk = PopDoubleRefOrSingleRef( aAdr );
+ if ( !bOk || (nGlobalError && nGlobalError != NOTAVAILABLE) )
nRes = true;
else
{