summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-05-06 21:29:57 +0200
committerEike Rathke <erack@redhat.com>2016-05-07 01:07:18 +0200
commit0ed8a6a5bbe31c9713d017594fbbcf38618e8c1d (patch)
treed4a572b91e5babc8ca7fccb7dc94d803ae0fa55b /sc
parentvcl: oops, so there was a macro there (diff)
downloadcore-0ed8a6a5bbe31c9713d017594fbbcf38618e8c1d.tar.gz
core-0ed8a6a5bbe31c9713d017594fbbcf38618e8c1d.zip
coverity#1359229 handle PopDoubleRefOrSingleRef() as usual
Change-Id: Ib74f00725f2e8b78cbbb92ef9760da74401c1984
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr8.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx
index 5cb33f06e6db..1b7bf6d5380f 100644
--- a/sc/source/core/tool/interpr8.cxx
+++ b/sc/source/core/tool/interpr8.cxx
@@ -1933,8 +1933,7 @@ void ScInterpreter::ScSwitch_MS()
case svDoubleRef :
{
ScAddress aAdr;
- PopDoubleRefOrSingleRef( aAdr );
- if ( nGlobalError )
+ if (!PopDoubleRefOrSingleRef( aAdr ))
break;
ScRefCellValue aCell( *pDok, aAdr );
isValue = !( aCell.hasString() || aCell.hasEmptyValue() || aCell.isEmpty() );