summaryrefslogtreecommitdiff
path: root/dtrans/source
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-06-23 00:26:03 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-06-23 00:27:35 +0300
commit588fe79ac95ead46bf4130c059b437581dcc2fae (patch)
tree007b7760510e40c1605e10593a2d63a84302c83e /dtrans/source
parent97529fc38405cb75a7c924d8f228fa28b2a82f6c (diff)
Use the newly introduced sehandler.hxx (now in solenv/wntgcci/inc)
Where the OOo MinGW people get their __SEHandler from, no idea.
Diffstat (limited to 'dtrans/source')
-rw-r--r--dtrans/source/win32/misc/ImplHelper.cxx5
1 files changed, 2 insertions, 3 deletions
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 <setjmp.h>
-#include <excpt.h>
+#include <sehandler.hxx>
#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;