summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 04:02:42 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 04:02:42 +0000
commit441ae6b9f8c3647e62132a55ef1bf596cc6ef7a5 (patch)
treeab05e500c37cb6aa0acc316a75a6896dd5e68878 /pyuno
parent1f80ccff1f82b29062940634e570e966e92ac1d5 (diff)
INTEGRATION: CWS warnings01 (1.4.8); FILE MERGED
2006/03/01 10:00:46 sb 1.4.8.1: #i53898# Made code waring-free.
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/inc/pyuno/pyuno.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/pyuno/inc/pyuno/pyuno.hxx b/pyuno/inc/pyuno/pyuno.hxx
index fd687c31d..e66fa61e6 100644
--- a/pyuno/inc/pyuno/pyuno.hxx
+++ b/pyuno/inc/pyuno/pyuno.hxx
@@ -2,7 +2,9 @@
#define _PYUNO_PYUNO_HXX_
#ifndef Py_PYTHON_H
-
+#if defined _MSC_VER
+#pragma warning(push, 1)
+#endif
#ifdef _DEBUG
#undef _DEBUG
#include <Python.h>
@@ -10,6 +12,9 @@
#else
#include <Python.h>
#endif // #ifdef _DEBUG
+#if defined _MSC_VER
+#pragma warning(pop)
+#endif
#endif // #ifdef Py_PYTHON_H
#ifndef _COM_SUN_STAR_UNO_XCOMPONENTCONTEXT_HPP_