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
commit34dd33af79caf3a13ec3a4e7098616ac0b16cf50 (patch)
tree8999f0eb3de32bcaf3e35d52150cd64c188d14c6
parenta93ecbe1f0f5e65ccc64347ed564d39c923f0dd0 (diff)
masterfix: #i10000# warning C4244: conversion from SbError to USHORT
Notes
split repo tag: libs-core_ooo/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 29e49b0ffde8..ef3e4c056cb6 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