diff options
Diffstat (limited to 'basic/source/runtime/props.cxx')
-rw-r--r-- | basic/source/runtime/props.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/props.cxx b/basic/source/runtime/props.cxx index d2d6d26f2425..8822aefba8f3 100644 --- a/basic/source/runtime/props.cxx +++ b/basic/source/runtime/props.cxx @@ -46,7 +46,7 @@ void SbRtl_Err(StarBASIC *, SbxArray & rPar, bool bWrite) { sal_Int32 nVal = rPar.Get( 0 )->GetLong(); if( nVal <= 65535 ) - StarBASIC::Error( StarBASIC::GetSfxFromVBError( (sal_uInt16) nVal ) ); + StarBASIC::Error( StarBASIC::GetSfxFromVBError( static_cast<sal_uInt16>(nVal) ) ); } else rPar.Get( 0 )->PutLong( StarBASIC::GetVBErrorCode( StarBASIC::GetErrBasic() ) ); |