[Libreoffice-commits] .: accessibility/bridge automation/source extensions/source lingucomponent/source

Fridrich Strba fridrich at kemper.freedesktop.org
Fri Mar 25 10:47:17 PDT 2011


 accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx |    2 -
 automation/source/testtool/registry_win.cxx                     |    7 ------
 automation/source/testtool/sysdir_win.cxx                       |    2 -
 extensions/source/ole/ole2uno.hxx                               |    2 -
 extensions/source/plugin/inc/plugin/win/sysplug.hxx             |    2 -
 extensions/source/plugin/win/sysplug.cxx                        |    2 -
 extensions/source/plugin/win/winmgr.cxx                         |    2 -
 lingucomponent/source/lingutil/lingutil.cxx                     |   11 ----------
 8 files changed, 1 insertion(+), 29 deletions(-)

New commits:
commit a56892268826985b995b731e66cbbe7beb789e1d
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Fri Mar 25 18:47:00 2011 +0100

    Wholesale prewin.h/postwin.h removal

diff --git a/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx b/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx
index 9a403c1..fb61703 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 558907e..c0fa59f 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 5c3e2af..560a95e 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 1eb7aa5..ca902f4 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 bf62b4f..cd351b5 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 1ed9f18..59d008d 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 108df5b..e0f885e 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 0f28629..4b6d42b 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>


More information about the Libreoffice-commits mailing list