summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxulng.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/sbx/sbxulng.cxx')
-rw-r--r--basic/source/sbx/sbxulng.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/basic/source/sbx/sbxulng.cxx b/basic/source/sbx/sbxulng.cxx
index e0f6f3fa421d..7322863f3475 100644
--- a/basic/source/sbx/sbxulng.cxx
+++ b/basic/source/sbx/sbxulng.cxx
@@ -31,10 +31,10 @@
#include <basic/sbx.hxx>
#include "sbxconv.hxx"
-UINT32 ImpGetULong( const SbxValues* p )
+sal_uInt32 ImpGetULong( const SbxValues* p )
{
SbxValues aTmp;
- UINT32 nRes;
+ sal_uInt32 nRes;
start:
switch( +p->eType )
{
@@ -80,7 +80,7 @@ start:
SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0;
}
else
- nRes = (UINT32) ( p->nSingle + 0.5 );
+ nRes = (sal_uInt32) ( p->nSingle + 0.5 );
break;
case SbxDATE:
case SbxDOUBLE:
@@ -121,7 +121,7 @@ start:
SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0;
}
else
- nRes = (UINT32) ( dVal + 0.5 );
+ nRes = (sal_uInt32) ( dVal + 0.5 );
break;
}
case SbxBYREF | SbxSTRING:
@@ -144,7 +144,7 @@ start:
SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0;
}
else
- nRes = (UINT32) ( d + 0.5 );
+ nRes = (sal_uInt32) ( d + 0.5 );
}
break;
case SbxOBJECT:
@@ -199,7 +199,7 @@ start:
return nRes;
}
-void ImpPutULong( SbxValues* p, UINT32 n )
+void ImpPutULong( SbxValues* p, sal_uInt32 n )
{
SbxValues aTmp;
start:
@@ -270,27 +270,27 @@ start:
{
SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXBYTE;
}
- *p->pByte = (BYTE) n; break;
+ *p->pByte = (sal_uInt8) n; break;
case SbxBYREF | SbxINTEGER:
case SbxBYREF | SbxBOOL:
if( n > SbxMAXINT )
{
SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXINT;
}
- *p->pInteger = (INT16) n; break;
+ *p->pInteger = (sal_Int16) n; break;
case SbxBYREF | SbxERROR:
case SbxBYREF | SbxUSHORT:
if( n > SbxMAXUINT )
{
SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXUINT;
}
- *p->pUShort = (UINT16) n; break;
+ *p->pUShort = (sal_uInt16) n; break;
case SbxBYREF | SbxLONG:
if( n > SbxMAXLNG )
{
SbxBase::SetError( SbxERR_OVERFLOW ); n = SbxMAXLNG;
}
- *p->pLong = (INT32) n; break;
+ *p->pLong = (sal_Int32) n; break;
case SbxBYREF | SbxULONG:
*p->pULong = n; break;
case SbxBYREF | SbxSINGLE: