summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2010-12-22 15:03:47 +0200
committerTor Lillqvist <tml@hemulen.(none)>2010-12-22 15:05:12 +0200
commitdabf6816a17b9076ed08059cb6d1a85eee86b03c (patch)
treee071b63a589c69dbc86565bb933a4a57a08b652a /basic
parentad8b848d215182ce569a4e7f75a440d373c05166 (diff)
Fix compilation error on Windows
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxdec.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx
index 3841a2b3660d..86464627ba73 100644
--- a/basic/source/sbx/sbxdec.cxx
+++ b/basic/source/sbx/sbxdec.cxx
@@ -705,7 +705,6 @@ start:
double d;
if( !pDec->getDouble( d ) )
SbxBase::SetError( SbxERR_OVERFLOW );
- pDec->getDouble( d );
*p->pnInt64 = ImpDoubleToCurrency( d );
break;
case SbxBYREF | SbxSALINT64:
@@ -732,7 +731,6 @@ start:
SbxBase::SetError( SbxERR_OVERFLOW );
*p->pSingle = 0;
}
- *p->pSingle = (float) n;
break;
case SbxBYREF | SbxDATE:
case SbxBYREF | SbxDOUBLE:
@@ -742,28 +740,6 @@ start:
*p->pDouble = 0;
}
break;
- case SbxBYREF | SbxULONG64:
- {
- double d;
- pDec->getDouble( d );
- *p->pULong64 = ImpDoubleToUINT64( d );
- break;
- }
- case SbxBYREF | SbxLONG64:
- {
- double d;
- pDec->getDouble( d );
- *p->pLong64 = ImpDoubleToINT64( d );
- break;
- }
- case SbxBYREF | SbxCURRENCY:
- {
- double d;
- pDec->getDouble( d );
- *p->pLong64 = ImpDoubleToCurrency( d );
- break;
- }
-
default:
SbxBase::SetError( SbxERR_CONVERSION );
}