summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-25 18:57:59 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-25 18:57:59 +0100
commit4aeaf2e0b8856d1617a301467c15d8fef00be2b5 (patch)
tree34859a88a44639851d88cd10aa03dd0185e5f144
parentb95a6c26809b1fa18bde2596594b5079ae41a48f (diff)
Wholesale prewin.h/postwin.h removal
-rwxr-xr-xavmedia/source/gstreamer/gstframegrabber.cxx2
-rwxr-xr-xavmedia/source/win/framegrabber.cxx2
-rwxr-xr-xavmedia/source/win/player.cxx2
-rwxr-xr-xavmedia/source/win/window.cxx2
-rwxr-xr-xbasic/source/app/process.cxx4
-rwxr-xr-xbasic/source/runtime/methods.cxx2
-rwxr-xr-xbasic/source/sbx/sbxdec.hxx5
-rwxr-xr-xdesktop/source/app/appsys.cxx2
-rwxr-xr-xdesktop/source/app/lockfile.cxx5
-rw-r--r--desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx2
-rw-r--r--fpicker/source/generic/fpicker.cxx2
-rw-r--r--fpicker/source/odma/ODMAFilePicker.cxx2
-rw-r--r--fpicker/source/odma/ODMAFolderPicker.cxx2
-rwxr-xr-xframework/source/uielement/recentfilesmenucontroller.cxx2
-rwxr-xr-xucb/source/ucp/odma/odma_lib.cxx2
-rwxr-xr-xucb/source/ucp/odma/odma_provider.hxx2
16 files changed, 1 insertions, 39 deletions
diff --git a/avmedia/source/gstreamer/gstframegrabber.cxx b/avmedia/source/gstreamer/gstframegrabber.cxx
index e0b161c483..fc775fe012 100755
--- a/avmedia/source/gstreamer/gstframegrabber.cxx
+++ b/avmedia/source/gstreamer/gstframegrabber.cxx
@@ -26,13 +26,11 @@
*
************************************************************************/
-#include <prewin.h>
#include <objbase.h>
#include <strmif.h>
#include <Amvideo.h>
#include <Qedit.h>
#include <uuids.h>
-#include <postwin.h>
#include "framegrabber.hxx"
#include "player.hxx"
diff --git a/avmedia/source/win/framegrabber.cxx b/avmedia/source/win/framegrabber.cxx
index 9633aa7e98..ced849bc8a 100755
--- a/avmedia/source/win/framegrabber.cxx
+++ b/avmedia/source/win/framegrabber.cxx
@@ -26,7 +26,6 @@
*
************************************************************************/
-#include <prewin.h>
#if defined _MSC_VER
#pragma warning(push, 1)
#pragma warning(disable: 4917)
@@ -43,7 +42,6 @@
#if defined _MSC_VER
#pragma warning(pop)
#endif
-#include <postwin.h>
#include "framegrabber.hxx"
#include "player.hxx"
diff --git a/avmedia/source/win/player.cxx b/avmedia/source/win/player.cxx
index f44f22f63b..133d26eda9 100755
--- a/avmedia/source/win/player.cxx
+++ b/avmedia/source/win/player.cxx
@@ -26,7 +26,6 @@
*
************************************************************************/
-#include <prewin.h>
#if defined _MSC_VER
#pragma warning(push, 1)
#pragma warning(disable: 4917)
@@ -39,7 +38,6 @@
#if defined _MSC_VER
#pragma warning(pop)
#endif
-#include <postwin.h>
#include "player.hxx"
#include "framegrabber.hxx"
diff --git a/avmedia/source/win/window.cxx b/avmedia/source/win/window.cxx
index 1f9dd0f3b4..7d7a1cdef9 100755
--- a/avmedia/source/win/window.cxx
+++ b/avmedia/source/win/window.cxx
@@ -26,7 +26,6 @@
*
************************************************************************/
-#include <prewin.h>
#if defined _MSC_VER
#pragma warning(push, 1)
#pragma warning(disable: 4917)
@@ -38,7 +37,6 @@
#if defined _MSC_VER
#pragma warning(pop)
#endif
-#include <postwin.h>
#include <com/sun/star/awt/SystemPointer.hdl>
#include "window.hxx"
diff --git a/basic/source/app/process.cxx b/basic/source/app/process.cxx
index 6289b5d8ea..7d507ecb3f 100755
--- a/basic/source/app/process.cxx
+++ b/basic/source/app/process.cxx
@@ -30,10 +30,6 @@
#include "precompiled_basic.hxx"
-#ifdef WNT
-#include <prewin.h>
-#include <postwin.h>
-#endif
#include <tools/errcode.hxx>
#include <basic/sbxcore.hxx>
#include <tools/string.hxx>
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 2a319c4b08..52ead18f8d 100755
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -52,8 +52,6 @@
#include "runtime.hxx"
#include "sbunoobj.hxx"
#ifdef WNT
-#include <prewin.h>
-#include <postwin.h>
#include <tools/fsys.hxx>
#else
#include <osl/file.hxx>
diff --git a/basic/source/sbx/sbxdec.hxx b/basic/source/sbx/sbxdec.hxx
index 69ca70797a..f94167b589 100755
--- a/basic/source/sbx/sbxdec.hxx
+++ b/basic/source/sbx/sbxdec.hxx
@@ -34,17 +34,12 @@
#undef WB_LEFT
#undef WB_RIGHT
-#include <prewin.h>
-} // close extern "C" {
#ifndef __MINGW32__
#include <comutil.h>
#endif
#include <oleauto.h>
-extern "C" { // reopen extern "C" {
-#include <postwin.h>
-
#endif
#endif
#include <basic/sbx.hxx>
diff --git a/desktop/source/app/appsys.cxx b/desktop/source/app/appsys.cxx
index 06264c37d8..d28ddaeb99 100755
--- a/desktop/source/app/appsys.cxx
+++ b/desktop/source/app/appsys.cxx
@@ -35,8 +35,6 @@
#include <rtl/ustring.hxx>
#include <tools/solar.h>
-#include <prewin.h>
-#include <postwin.h>
#include <tools/urlobj.hxx>
diff --git a/desktop/source/app/lockfile.cxx b/desktop/source/app/lockfile.cxx
index c2b2b1b0ec..a41f652f75 100755
--- a/desktop/source/app/lockfile.cxx
+++ b/desktop/source/app/lockfile.cxx
@@ -30,10 +30,7 @@
#include "precompiled_desktop.hxx"
#include <stdlib.h>
#include <time.h>
-#ifdef WNT
-#include <prewin.h>
-#include <postwin.h>
-#else
+#ifndef WNT
#include <unistd.h>
#endif
#include <sal/types.h>
diff --git a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
index 4fa87eb438..0c7f73690c 100644
--- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
+++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
@@ -102,9 +102,7 @@
#endif
#ifdef WNT
-#include "prewin.h"
#include <objbase.h>
-#include "postwin.h"
#endif
diff --git a/fpicker/source/generic/fpicker.cxx b/fpicker/source/generic/fpicker.cxx
index 83f336b593..69bb2ff2c2 100644
--- a/fpicker/source/generic/fpicker.cxx
+++ b/fpicker/source/generic/fpicker.cxx
@@ -35,8 +35,6 @@
#include "com/sun/star/lang/XMultiComponentFactory.hpp"
#ifdef WNT
-#include <prewin.h>
-#include <postwin.h>
#include <odma_lib.hxx>
#endif
diff --git a/fpicker/source/odma/ODMAFilePicker.cxx b/fpicker/source/odma/ODMAFilePicker.cxx
index 80b767dd91..cd87c809ec 100644
--- a/fpicker/source/odma/ODMAFilePicker.cxx
+++ b/fpicker/source/odma/ODMAFilePicker.cxx
@@ -49,8 +49,6 @@
#include <unotools/ucbhelper.hxx>
#ifndef ODMA_LIB_HXX
-#include <prewin.h>
-#include <postwin.h>
#include <odma_lib.hxx>
#endif
diff --git a/fpicker/source/odma/ODMAFolderPicker.cxx b/fpicker/source/odma/ODMAFolderPicker.cxx
index 15490f4503..49963c37b2 100644
--- a/fpicker/source/odma/ODMAFolderPicker.cxx
+++ b/fpicker/source/odma/ODMAFolderPicker.cxx
@@ -43,9 +43,7 @@
#include <unotools/pathoptions.hxx>
#ifndef ODMA_LIB_HXX
-#include <prewin.h>
#include <odma_lib.hxx>
-#include <postwin.h>
#endif
// using ----------------------------------------------------------------
diff --git a/framework/source/uielement/recentfilesmenucontroller.cxx b/framework/source/uielement/recentfilesmenucontroller.cxx
index dd0c954c9a..9f5e81ec36 100755
--- a/framework/source/uielement/recentfilesmenucontroller.cxx
+++ b/framework/source/uielement/recentfilesmenucontroller.cxx
@@ -59,8 +59,6 @@
#include <cppuhelper/implbase1.hxx>
#include <osl/file.hxx>
#ifdef WNT
-#include <prewin.h>
-#include <postwin.h>
#include <odma_lib.hxx>
#endif
#include <dispatch/uieventloghelper.hxx>
diff --git a/ucb/source/ucp/odma/odma_lib.cxx b/ucb/source/ucp/odma/odma_lib.cxx
index e83962feef..54d2f02093 100755
--- a/ucb/source/ucp/odma/odma_lib.cxx
+++ b/ucb/source/ucp/odma/odma_lib.cxx
@@ -30,8 +30,6 @@
#include "precompiled_ucb.hxx"
#include <osl/module.h>
#include <rtl/ustring.hxx>
-#include <prewin.h>
-#include <postwin.h>
#include "odma_lib.hxx"
diff --git a/ucb/source/ucp/odma/odma_provider.hxx b/ucb/source/ucp/odma/odma_provider.hxx
index ce0e3d179f..691ca71d36 100755
--- a/ucb/source/ucp/odma/odma_provider.hxx
+++ b/ucb/source/ucp/odma/odma_provider.hxx
@@ -30,8 +30,6 @@
#define ODMA_PROVIDER_HXX
#include <ucbhelper/providerhelper.hxx>
-#include <prewin.h>
-#include <postwin.h>
#include "odma_lib.hxx"
#include "rtl/ref.hxx"