summaryrefslogtreecommitdiff
path: root/basic/source/runtime/methods.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/runtime/methods.cxx')
-rw-r--r--basic/source/runtime/methods.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 8f1ac5d90f05..cbf7bda7c6f1 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -96,7 +96,14 @@ SbxVariable* getDefaultProp( SbxVariable* pRef );
#ifdef WNT
#define GradientStyle_RECT BLA_GradientStyle_RECT
+#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 <io.h>
#undef GetObject
#undef GradientSyle_RECT