summaryrefslogtreecommitdiff
path: root/embedserv/source/embed
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2017-09-18 17:34:28 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2017-09-18 19:24:31 +0200
commitaaa26a58ba0f14eab652e0ba7f8d8e66fa479582 (patch)
tree34299e87165aa7cc6c38c357b7e4deddaef76816 /embedserv/source/embed
parent3c1f44c91091205512098bb4f1d56333c20a1f8b (diff)
Some more WIN32_LEAN_AND_MEAN
Change-Id: Iadb0ebb66809c192fb817b8c7cf2f8cdb4d0b874 Reviewed-on: https://gerrit.libreoffice.org/42419 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'embedserv/source/embed')
-rw-r--r--embedserv/source/embed/docholder.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx
index 14e95f26d45b..2998395279c4 100644
--- a/embedserv/source/embed/docholder.cxx
+++ b/embedserv/source/embed/docholder.cxx
@@ -25,9 +25,13 @@
#include "intercept.hxx"
#include "syswinwrapper.hxx"
#include "iipaobj.hxx"
-
#include "common.h"
+
+#if !defined WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+#endif
#include <windows.h>
+
#include <com/sun/star/awt/XTopWindow.hpp>
#include <com/sun/star/awt/PosSize.hpp>
#include <com/sun/star/awt/XView.hpp>