summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/wall.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-06-11 16:41:34 +0200
committerJan Holesovsky <kendy@suse.cz>2012-06-12 16:31:43 +0200
commit6d78c490b0923c22d125286ebdae2e41edd28f6c (patch)
tree911ec6d9b8ab876db06e296a2e2517da797d8d30 /vcl/source/gdi/wall.cxx
parent99ced0bdaedeedd13de73a66e159f45cada6e3b4 (diff)
Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
Diffstat (limited to 'vcl/source/gdi/wall.cxx')
-rw-r--r--vcl/source/gdi/wall.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/wall.cxx b/vcl/source/gdi/wall.cxx
index 98c7629789a3..51a70cc5a500 100644
--- a/vcl/source/gdi/wall.cxx
+++ b/vcl/source/gdi/wall.cxx
@@ -437,7 +437,7 @@ Gradient Wallpaper::ImplGetApplicationGradient() const
{
Gradient g;
g.SetAngle( 900 );
- g.SetStyle( GRADIENT_LINEAR );
+ g.SetStyle( GradientStyle_LINEAR );
g.SetStartColor( Application::GetSettings().GetStyleSettings().GetFaceColor() );
// no 'extreme' gradient when high contrast
if( Application::GetSettings().GetStyleSettings().GetHighContrastMode() )