Kaydet (Commit) f11b6927 authored tarafından Fridrich Štrba's avatar Fridrich Štrba

Fix Windows build of fpicker

üst fe551ada
...@@ -34,15 +34,18 @@ ...@@ -34,15 +34,18 @@
#include "cppuhelper/implementationentry.hxx" #include "cppuhelper/implementationentry.hxx"
#include "com/sun/star/lang/XMultiComponentFactory.hpp" #include "com/sun/star/lang/XMultiComponentFactory.hpp"
#ifdef WNT
#include <odma_lib.hxx>
#endif
#include "svtools/miscopt.hxx" #include "svtools/miscopt.hxx"
#include "svl/pickerhistoryaccess.hxx" #include "svl/pickerhistoryaccess.hxx"
#include "vcl/svapp.hxx" #include "vcl/svapp.hxx"
#ifdef WNT
#define GradientStyle_RECT BLA_GradientStyle_RECT
#include <windows.h>
#undef GradientStyle_RECT
#include <odma_lib.hxx>
#endif
namespace css = com::sun::star; namespace css = com::sun::star;
using css::uno::Reference; using css::uno::Reference;
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 3/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/************************************************************************* /*************************************************************************
* *
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
#include <unotools/ucbhelper.hxx> #include <unotools/ucbhelper.hxx>
#ifndef ODMA_LIB_HXX #ifndef ODMA_LIB_HXX
#include <windows.h>
#include <odma_lib.hxx> #include <odma_lib.hxx>
#endif #endif
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#include <unotools/pathoptions.hxx> #include <unotools/pathoptions.hxx>
#ifndef ODMA_LIB_HXX #ifndef ODMA_LIB_HXX
#include <windows.h>
#include <odma_lib.hxx> #include <odma_lib.hxx>
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment