summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-02-09 00:57:41 +0200
committerTor Lillqvist <tlillqvist@novell.com>2011-02-09 01:04:21 +0200
commitb14f9301ef503c922d89d6a72772c55606313ff7 (patch)
treef1ef9631a78945fb46b458bb588a1b48a1d2d3df /vcl
parent46fade23824ba53dcdbaa3d3d2c2c9a122472ead (diff)
prewin.h already includes <windows.h>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/settings.cxx5
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx1
2 files changed, 2 insertions, 4 deletions
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx
index 3405e30f5353..28166c0962bc 100644
--- a/vcl/source/app/settings.cxx
+++ b/vcl/source/app/settings.cxx
@@ -48,9 +48,8 @@
#include <unotools/syslocaleoptions.hxx>
#ifdef WNT
-#include "prewin.h"
-#include <windows.h>
-#include "postwin.h"
+#include <prewin.h>
+#include <postwin.h>
#endif
using namespace rtl;
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index 4ae2b5199b05..b3def16e6075 100644
--- a/vcl/win/source/gdi/salgdi3.cxx
+++ b/vcl/win/source/gdi/salgdi3.cxx
@@ -33,7 +33,6 @@
#include <malloc.h>
#include <prewin.h>
-#include <windows.h>
#include <postwin.h>
#include <vcl/sysdata.hxx>
#include "tools/svwin.h"