From 34dd33af79caf3a13ec3a4e7098616ac0b16cf50 Mon Sep 17 00:00:00 2001 From: Release Engineering Date: Wed, 16 Jun 2010 15:23:29 +0200 Subject: masterfix: #i10000# warning C4244: conversion from SbError to USHORT --- basic/source/runtime/runtime.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basic') 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 -- cgit