diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-01 05:34:37 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-01 07:00:09 +0100 |
commit | ece1af8c7f9f176b24ba976480518050af087e9e (patch) | |
tree | 477da3cae9e17dd64a45e902ebbb476548308882 /basic | |
parent | 4dc498a7f846bf2452900a4798ad50036948b9bc (diff) |
coverity#736108: nesting level mismatch
Change-Id: I6e6a3baa5aba5591a40fd236e7a2056fb59d6977
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxint.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxint.cxx b/basic/source/sbx/sbxint.cxx index dc8cd944ba63..7713c7621948 100644 --- a/basic/source/sbx/sbxint.cxx +++ b/basic/source/sbx/sbxint.cxx @@ -881,7 +881,10 @@ start: *p->pDouble = ImpSalUInt64ToDouble( n ); break; case SbxBYREF | SbxCURRENCY: if ( n > ( SbxMAXSALINT64 / CURRENCY_FACTOR ) ) - SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXSALINT64; + { + SbxBase::SetError( SbxERR_OVERFLOW ); + n = SbxMAXSALINT64; + } *p->pnInt64 = ( sal_Int64) ( n * CURRENCY_FACTOR ); break; case SbxBYREF | SbxSALUINT64: *p->puInt64 = n; break; |