summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/activex/StdAfx2.h2
-rw-r--r--extensions/source/activex/so_activex.rc1
-rw-r--r--extensions/source/ole/oledll.cxx1
-rw-r--r--extensions/source/ole/oleobjw.cxx3
-rw-r--r--extensions/source/ole/servprov.cxx4
-rw-r--r--extensions/source/ole/servreg.cxx3
-rw-r--r--extensions/source/ole/unoobjw.cxx3
-rw-r--r--extensions/source/ole/wincrap.hxx4
8 files changed, 1 insertions, 20 deletions
diff --git a/extensions/source/activex/StdAfx2.h b/extensions/source/activex/StdAfx2.h
index c1ef7e523db4..4d9ba1d7231d 100644
--- a/extensions/source/activex/StdAfx2.h
+++ b/extensions/source/activex/StdAfx2.h
@@ -30,7 +30,7 @@
#define STRICT
#ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x0403
+#define _WIN32_WINNT 0x0502
#endif
#define _ATL_APARTMENT_THREADED
#define _ATL_STATIC_REGISTRY
diff --git a/extensions/source/activex/so_activex.rc b/extensions/source/activex/so_activex.rc
index 2928c02c97d3..c1dca6dbe61d 100644
--- a/extensions/source/activex/so_activex.rc
+++ b/extensions/source/activex/so_activex.rc
@@ -25,7 +25,6 @@
//
// Generated from the TEXTINCLUDE 2 resource.
//
-#define WINVER 0x0500
#include <winresrc.h>
#define LB_ADDSTRING (WM_USER+1)
#define CB_ADDSTRING (WM_USER+3)
diff --git a/extensions/source/ole/oledll.cxx b/extensions/source/ole/oledll.cxx
index 626937704021..d1813555442e 100644
--- a/extensions/source/ole/oledll.cxx
+++ b/extensions/source/ole/oledll.cxx
@@ -19,7 +19,6 @@
#define STRICT
-#define _WIN32_WINNT 0x0403
#define _WIN32_DCOM
#pragma warning (push,1)
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx
index f5415a618a75..1118f43eb659 100644
--- a/extensions/source/ole/oleobjw.cxx
+++ b/extensions/source/ole/oleobjw.cxx
@@ -17,9 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// http://stackoverflow.com/questions/5839292/error-c1189-after-installing-visual-studio-2010
-#define _WIN32_WINNT 0x0403
-
#include "ole2uno.hxx"
#include "rtl/ustrbuf.hxx"
diff --git a/extensions/source/ole/servprov.cxx b/extensions/source/ole/servprov.cxx
index 9e799071d857..cbf4645bd81c 100644
--- a/extensions/source/ole/servprov.cxx
+++ b/extensions/source/ole/servprov.cxx
@@ -17,10 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// http://stackoverflow.com/questions/5839292/error-c1189-after-installing-visual-studio-2010
-#define _WIN32_WINNT 0x0403
-
-
#include <vector>
#ifdef __MINGW32__
diff --git a/extensions/source/ole/servreg.cxx b/extensions/source/ole/servreg.cxx
index 401b492725a8..60e39ae25df0 100644
--- a/extensions/source/ole/servreg.cxx
+++ b/extensions/source/ole/servreg.cxx
@@ -17,9 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// http://stackoverflow.com/questions/5839292/error-c1189-after-installing-visual-studio-2010
-#define _WIN32_WINNT 0x0403
-
#include <osl/time.h>
#include "ole2uno.hxx"
#include "servprov.hxx"
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index bac14b01674a..0689773d0a97 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -18,9 +18,6 @@
*/
#include "ole2uno.hxx"
-#if _WIN32_WINNT != 0x403
-#error wrong _WIN32_WINNT
-#endif
#include <stdio.h>
#include <vector>
diff --git a/extensions/source/ole/wincrap.hxx b/extensions/source/ole/wincrap.hxx
index e7c308461a5a..29801c2e7b9d 100644
--- a/extensions/source/ole/wincrap.hxx
+++ b/extensions/source/ole/wincrap.hxx
@@ -22,10 +22,6 @@
/* wrap all includes that need to be wrapped by presys.h/postsys.h here */
-// from oleobjw.hxx
-// http://stackoverflow.com/questions/5839292/error-c1189-after-installing-visual-studio-2010
-#define _WIN32_WINNT 0x0403
-
#define STRICT
#define _WIN32_DCOM