summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRelease Engineering <releng@openoffice.org>2010-06-16 15:23:29 +0200
committerRelease Engineering <releng@openoffice.org>2010-06-16 15:23:29 +0200
commit99e133f3abede854db3c78e1aca60fa16ffa412b (patch)
tree1dd8b844074e8afdf85f4e8978d23b3983dc3119
parent41c3d4c6afe9f7ee9456c31f77ca0cf500e18032 (diff)
masterfix: #i10000# warning C4244: conversion from SbError to USHORTooo/DEV300_m83
-rwxr-xr-xbasic/source/runtime/runtime.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index b26b03b76a..c7d2d4ed4b 100755
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -906,7 +906,7 @@ sal_Int32 SbiRuntime::translateErrorToVba( SbError nError, String& rMsg )
{
// TEST, has to be vb here always
#ifdef DBG_UTIL
- SbError nTmp = StarBASIC::GetSfxFromVBError( nError );
+ SbError nTmp = StarBASIC::GetSfxFromVBError( USHORT( nError ) );
DBG_ASSERT( nTmp, "No VB error!" );
#endif