summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorsj <sj@openoffice.org>2009-12-11 12:22:43 +0100
committersj <sj@openoffice.org>2009-12-11 12:22:43 +0100
commitd5a8b4a9cf542b6567ccd69a67a96ade941cfba3 (patch)
treee611c8855a3242ae03b7a5cb839b771d2706a5e8 /canvas
parent6c1aa68d76169c11c1f56a19ce4f12393e6bca51 (diff)
impress181: #i107614#: fixed build error, dxerr9.h has been renamed to dxerr.h in the latest DirectX SDK from August 2009
Diffstat (limited to 'canvas')
-rwxr-xr-xcanvas/source/directx/dx_winstuff.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/canvas/source/directx/dx_winstuff.hxx b/canvas/source/directx/dx_winstuff.hxx
index 1c64506c0f21..47658991e74b 100755
--- a/canvas/source/directx/dx_winstuff.hxx
+++ b/canvas/source/directx/dx_winstuff.hxx
@@ -89,7 +89,7 @@
#include <d3d9.h>
#include <d3dx9.h>
- #include <dxerr9.h>
+// #include <dxerr9.h> #i107614# removing include, it has been changed in the latest sdk fron August2009 from dxerr9.h into dxerr.h
typedef IDirect3DSurface9 surface_type;
@@ -97,11 +97,11 @@
#undef DrawText
-#ifdef __MINGW32__
-using ::std::max;
-using ::std::min;
-#endif
-
+#ifdef __MINGW32__
+using ::std::max;
+using ::std::min;
+#endif
+
#include <gdiplus.h>
#ifdef min