summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-13 09:03:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-13 09:06:00 +0000
commit26712ff5a60428f94d45b20b8f01900da52f5e4e (patch)
treebacdc58ef700dc3c881a30c7283e32ebb41f437d /basic
parentd271080853675dbc0e16b0788410dc5caed21a01 (diff)
WaE: d shadows another d
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxdec.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx
index 14833cf51073..992bff0bd48e 100644
--- a/basic/source/sbx/sbxdec.cxx
+++ b/basic/source/sbx/sbxdec.cxx
@@ -696,10 +696,12 @@ start:
}
break;
case SbxBYREF | SbxCURRENCY:
+ {
double d;
if( !pDec->getDouble( d ) )
SbxBase::SetError( SbxERR_OVERFLOW );
*p->pnInt64 = ImpDoubleToCurrency( d );
+ }
break;
case SbxBYREF | SbxSALINT64:
{
@@ -708,8 +710,8 @@ start:
SbxBase::SetError( SbxERR_OVERFLOW );
else
*p->pnInt64 = ImpDoubleToSalInt64( d );
- break;
}
+ break;
case SbxBYREF | SbxSALUINT64:
{
double d;
@@ -717,8 +719,8 @@ start:
SbxBase::SetError( SbxERR_OVERFLOW );
else
*p->puInt64 = ImpDoubleToSalUInt64( d );
- break;
}
+ break;
case SbxBYREF | SbxSINGLE:
if( !pDec->getSingle( *p->pSingle ) )
{