From 588fe79ac95ead46bf4130c059b437581dcc2fae Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 23 Jun 2011 00:26:03 +0300 Subject: Use the newly introduced sehandler.hxx (now in solenv/wntgcci/inc) Where the OOo MinGW people get their __SEHandler from, no idea. --- dtrans/source/win32/misc/ImplHelper.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'dtrans') diff --git a/dtrans/source/win32/misc/ImplHelper.cxx b/dtrans/source/win32/misc/ImplHelper.cxx index d2a79e3d0af8..0a189577d880 100644 --- a/dtrans/source/win32/misc/ImplHelper.cxx +++ b/dtrans/source/win32/misc/ImplHelper.cxx @@ -47,8 +47,7 @@ #pragma warning(pop) #endif #ifdef __MINGW32__ -#include -#include +#include #endif //------------------------------------------------------------------------ @@ -189,7 +188,7 @@ sal_Bool SAL_CALL IsOEMCP( sal_uInt32 codepage ) 869, 874, 932, 936, 949, 950, 1361 }; for ( sal_Int8 i = 0; i < ( sizeof( arrOEMCP )/sizeof( sal_uInt32 ) ); ++i ) - if ( arrOEMCP[i] == codepage ) + if ( (sal_uInt32) arrOEMCP[i] == codepage ) return sal_True; return sal_False; -- cgit