summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxdec.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/sbx/sbxdec.cxx')
-rw-r--r--basic/source/sbx/sbxdec.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx
index c7267f1a5370..bf36d8863257 100644
--- a/basic/source/sbx/sbxdec.cxx
+++ b/basic/source/sbx/sbxdec.cxx
@@ -685,7 +685,7 @@ start:
break;
case SbxBYREF | SbxCURRENCY:
{
- double d;
+ double d(0.0);
if( !pDec->getDouble( d ) )
SbxBase::SetError( SbxERR_OVERFLOW );
*p->pnInt64 = ImpDoubleToCurrency( d );
@@ -693,7 +693,7 @@ start:
break;
case SbxBYREF | SbxSALINT64:
{
- double d;
+ double d(0.0);
if( !pDec->getDouble( d ) )
SbxBase::SetError( SbxERR_OVERFLOW );
else
@@ -702,7 +702,7 @@ start:
break;
case SbxBYREF | SbxSALUINT64:
{
- double d;
+ double d(0.0);
if( !pDec->getDouble( d ) )
SbxBase::SetError( SbxERR_OVERFLOW );
else