summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx2
-rw-r--r--automation/source/testtool/registry_win.cxx7
-rw-r--r--automation/source/testtool/sysdir_win.cxx2
-rw-r--r--extensions/source/ole/ole2uno.hxx2
-rw-r--r--extensions/source/plugin/inc/plugin/win/sysplug.hxx2
-rw-r--r--extensions/source/plugin/win/sysplug.cxx2
-rw-r--r--extensions/source/plugin/win/winmgr.cxx2
-rwxr-xr-xlingucomponent/source/lingutil/lingutil.cxx11
8 files changed, 1 insertions, 29 deletions
diff --git a/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx b/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx
index 9a403c1ee..fb61703ae 100644
--- a/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx
+++ b/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx
@@ -35,9 +35,7 @@
#include <WindowsAccessBridgeAdapter.h>
-#include <prewin.h>
#include <wtypes.h>
-#include <postwin.h>
#include <rtl/process.h>
#include <tools/link.hxx>
diff --git a/automation/source/testtool/registry_win.cxx b/automation/source/testtool/registry_win.cxx
index 558907e92..c0fa59f5b 100644
--- a/automation/source/testtool/registry_win.cxx
+++ b/automation/source/testtool/registry_win.cxx
@@ -36,13 +36,6 @@
////////////////////////////////////////////////////////////////////////////
-#include <prewin.h>
-#include <postwin.h>
-// as we define it ourselves further down the line we remove it here
-#ifdef IS_ERROR
-// #undef IS_ERROR
-#endif
-
#include "registry_win.hxx"
#include <osl/thread.h>
#include <sal/macros.h>
diff --git a/automation/source/testtool/sysdir_win.cxx b/automation/source/testtool/sysdir_win.cxx
index 5c3e2afac..560a95e07 100644
--- a/automation/source/testtool/sysdir_win.cxx
+++ b/automation/source/testtool/sysdir_win.cxx
@@ -36,7 +36,6 @@
////////////////////////////////////////////////////////////////////////////
-#include <prewin.h>
#ifndef _SHOBJ_H
#if defined _MSC_VER
#pragma warning(push, 1)
@@ -47,7 +46,6 @@
#pragma warning(pop)
#endif
#endif
-#include <postwin.h>
// as we define it ourselves further down the line we remove it here
#ifdef IS_ERROR
#undef IS_ERROR
diff --git a/extensions/source/ole/ole2uno.hxx b/extensions/source/ole/ole2uno.hxx
index 1eb7aa556..ca902f4e8 100644
--- a/extensions/source/ole/ole2uno.hxx
+++ b/extensions/source/ole/ole2uno.hxx
@@ -49,12 +49,10 @@
#pragma warning (disable:4005)
#pragma warning (disable:4548)
-#include <prewin.h>
#include <tchar.h>
#if (_MSC_VER >= 1200) || defined(__MINGW32__)
#include <dispex.h>
#endif
-#include <postwin.h>
#include <tools/presys.h>
#include <list>
diff --git a/extensions/source/plugin/inc/plugin/win/sysplug.hxx b/extensions/source/plugin/inc/plugin/win/sysplug.hxx
index bf62b4f16..cd351b517 100644
--- a/extensions/source/plugin/inc/plugin/win/sysplug.hxx
+++ b/extensions/source/plugin/inc/plugin/win/sysplug.hxx
@@ -32,9 +32,7 @@
#pragma warning (push,1)
#pragma warning (disable:4005)
-#include <prewin.h>
#include <tchar.h>
-#include <postwin.h>
#pragma pack( push, 8 )
#include <npsdk/npapi.h>
diff --git a/extensions/source/plugin/win/sysplug.cxx b/extensions/source/plugin/win/sysplug.cxx
index 1ed9f1880..59d008d57 100644
--- a/extensions/source/plugin/win/sysplug.cxx
+++ b/extensions/source/plugin/win/sysplug.cxx
@@ -34,11 +34,9 @@
#pragma warning (push,1)
#pragma warning (disable:4005)
-#include <prewin.h>
#include <string.h>
#include <tchar.h>
#include <objbase.h>
-#include <postwin.h>
#pragma warning (pop)
diff --git a/extensions/source/plugin/win/winmgr.cxx b/extensions/source/plugin/win/winmgr.cxx
index 108df5b90..e0f885e8d 100644
--- a/extensions/source/plugin/win/winmgr.cxx
+++ b/extensions/source/plugin/win/winmgr.cxx
@@ -43,11 +43,9 @@
#pragma warning (push,1)
#pragma warning (disable:4005)
-#include <prewin.h>
#include <string.h>
#include <tchar.h>
#include <objbase.h>
-#include <postwin.h>
#pragma warning (pop)
diff --git a/lingucomponent/source/lingutil/lingutil.cxx b/lingucomponent/source/lingutil/lingutil.cxx
index 0f286292b..4b6d42bee 100755
--- a/lingucomponent/source/lingutil/lingutil.cxx
+++ b/lingucomponent/source/lingutil/lingutil.cxx
@@ -30,18 +30,9 @@
#include "precompiled_lingucomponent.hxx"
#if defined(WNT)
-#include <prewin.h>
+#include <windows.h>
#endif
-#if defined(WNT)
-#include <Windows.h>
-#endif
-
-#if defined(WNT)
-#include <postwin.h>
-#endif
-
-
#include <osl/thread.h>
#include <osl/file.hxx>
#include <tools/debug.hxx>