summaryrefslogtreecommitdiff
path: root/fpicker/source/generic/fpicker.cxx
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-28 11:28:48 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-28 11:29:02 +0200
commitf11b69270a41c7b6fe2a1fbd5c0a2110b39e22cf (patch)
tree26770afa429b9f15743495a63bb363a7c3eaced4 /fpicker/source/generic/fpicker.cxx
parentfe551ada2d874b067cf57e80811d9b91e61b5457 (diff)
Fix Windows build of fpicker
Diffstat (limited to 'fpicker/source/generic/fpicker.cxx')
-rw-r--r--fpicker/source/generic/fpicker.cxx11
1 files changed, 7 insertions, 4 deletions
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 <odma_lib.hxx>
-#endif
-
#include "svtools/miscopt.hxx"
#include "svl/pickerhistoryaccess.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;
using css::uno::Reference;