From f11b69270a41c7b6fe2a1fbd5c0a2110b39e22cf Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Mon, 28 Mar 2011 11:28:48 +0200 Subject: Fix Windows build of fpicker --- fpicker/source/generic/fpicker.cxx | 11 +++++++---- fpicker/source/odma/ODMAFilePicker.cxx | 3 ++- fpicker/source/odma/ODMAFolderPicker.cxx | 1 + 3 files changed, 10 insertions(+), 5 deletions(-) (limited to 'fpicker/source') diff --git a/fpicker/source/generic/fpicker.cxx b/fpicker/source/generic/fpicker.cxx index 11130f43400d..f25fbdb062e1 100644 --- a/fpicker/source/generic/fpicker.cxx +++ b/fpicker/source/generic/fpicker.cxx @@ -34,15 +34,18 @@ #include "cppuhelper/implementationentry.hxx" #include "com/sun/star/lang/XMultiComponentFactory.hpp" -#ifdef WNT -#include -#endif - #include "svtools/miscopt.hxx" #include "svl/pickerhistoryaccess.hxx" #include "vcl/svapp.hxx" +#ifdef WNT +#define GradientStyle_RECT BLA_GradientStyle_RECT +#include +#undef GradientStyle_RECT +#include +#endif + namespace css = com::sun::star; using css::uno::Reference; diff --git a/fpicker/source/odma/ODMAFilePicker.cxx b/fpicker/source/odma/ODMAFilePicker.cxx index cd87c809ecc8..ee5cad46e6ba 100644 --- a/fpicker/source/odma/ODMAFilePicker.cxx +++ b/fpicker/source/odma/ODMAFilePicker.cxx @@ -1,4 +1,4 @@ -/* -*- 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. @@ -49,6 +49,7 @@ #include #ifndef ODMA_LIB_HXX +#include #include #endif diff --git a/fpicker/source/odma/ODMAFolderPicker.cxx b/fpicker/source/odma/ODMAFolderPicker.cxx index 49963c37b26c..a8d1f15138e3 100644 --- a/fpicker/source/odma/ODMAFolderPicker.cxx +++ b/fpicker/source/odma/ODMAFolderPicker.cxx @@ -43,6 +43,7 @@ #include #ifndef ODMA_LIB_HXX +#include #include #endif -- cgit