summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-10-28 06:06:53 -0700
committerAndras Timar <andras.timar@collabora.com>2015-10-28 07:13:08 -0700
commit5fb93f268c6a7a9c1aebd0d9e242009e23f854c9 (patch)
treec52255ae3f8404a4ce1624907de12d207eca8d2f /sd
parent5d81503823f2405c2eaec97c98e432886863ce02 (diff)
guard boost/property_tree/json_parser.hpp on WNT
Change-Id: Ie6de4342b0e6f76076717f1fbdb18adf453ce963
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/tiledrendering/tiledrendering.cxx6
-rw-r--r--sd/source/ui/view/Outliner.cxx6
2 files changed, 12 insertions, 0 deletions
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 830911d127e0..8a82295673ec 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -10,7 +10,13 @@
#include <test/bootstrapfixture.hxx>
#include <unotest/macros_test.hxx>
#include <test/xmltesttools.hxx>
+#ifdef WNT
+#include <prewin.h>
+#endif
#include <boost/property_tree/json_parser.hpp>
+#ifdef WNT
+#include <postwin.h>
+#endif
#define LOK_USE_UNSTABLE_API
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <com/sun/star/frame/Desktop.hpp>
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index e4c508ac6f76..4e18570ce862 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -18,7 +18,13 @@
*/
#include "Outliner.hxx"
+#ifdef WNT
+#include <prewin.h>
+#endif
#include <boost/property_tree/json_parser.hpp>
+#ifdef WNT
+#include <postwin.h>
+#endif
#include <vcl/wrkwin.hxx>
#include <vcl/settings.hxx>