summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/inc/pyuno.hxx6
-rw-r--r--pyuno/zipcore/python.cxx2
2 files changed, 0 insertions, 8 deletions
diff --git a/pyuno/inc/pyuno.hxx b/pyuno/inc/pyuno.hxx
index e2d0c38de640..04c42de6e93f 100644
--- a/pyuno/inc/pyuno.hxx
+++ b/pyuno/inc/pyuno.hxx
@@ -21,13 +21,7 @@
#define INCLUDED_PYUNO_INC_PYUNO_HXX
#ifndef Py_PYTHON_H
-#if defined _MSC_VER
-#pragma warning(push, 1)
-#endif
#include <Python.h>
-#if defined _MSC_VER
-#pragma warning(pop)
-#endif
#endif // #ifdef Py_PYTHON_H
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/script/CannotConvertException.hpp>
diff --git a/pyuno/zipcore/python.cxx b/pyuno/zipcore/python.cxx
index 9c6ef836311f..c26d58c36fb8 100644
--- a/pyuno/zipcore/python.cxx
+++ b/pyuno/zipcore/python.cxx
@@ -24,9 +24,7 @@
#include <wchar.h>
#define WIN32_LEAN_AND_MEAN
-#pragma warning(push, 1)
#include <windows.h>
-#pragma warning(pop)
#include <tools/pathutils.hxx>