diff options
-rw-r--r-- | basic/source/runtime/methods.cxx | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 881c097e1967..1dfeb8f2406a 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -84,24 +84,13 @@ using namespace com::sun::star::uno; SbxVariable* getDefaultProp( SbxVariable* pRef ); -#if defined (WNT) -#include <direct.h> -#endif - #include "sbobjmod.hxx" #ifdef WNT -#if defined _MSC_VER -#pragma warning (push, 1) -#pragma warning (disable: 4005) -#endif -#include <windows.h> -#if defined _MSC_VER -#pragma warning (pop) -#endif +#include <prewin.h> +#include <direct.h> #include <io.h> -#undef GetObject -#undef GradientSyle_RECT +#include <postwin.h> #endif #ifndef DISABLE_SCRIPTING |