diff options
author | Eike Rathke <erack@redhat.com> | 2016-05-06 21:29:57 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-05-07 01:07:18 +0200 |
commit | 0ed8a6a5bbe31c9713d017594fbbcf38618e8c1d (patch) | |
tree | d4a572b91e5babc8ca7fccb7dc94d803ae0fa55b /sc/source | |
parent | 3342a05529b1fb33db4f1126b5836249551890f3 (diff) |
coverity#1359229 handle PopDoubleRefOrSingleRef() as usual
Change-Id: Ib74f00725f2e8b78cbbb92ef9760da74401c1984
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/tool/interpr8.cxx | 3 |
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() ); |