summaryrefslogtreecommitdiff
path: root/vcl/workben/svptest.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/workben/svptest.cxx
parent99ced0bdaedeedd13de73a66e159f45cada6e3b4 (diff)
Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
Diffstat (limited to 'vcl/workben/svptest.cxx')
-rw-r--r--vcl/workben/svptest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx
index 545c2aedf6ee..2c1dd59a8174 100644
--- a/vcl/workben/svptest.cxx
+++ b/vcl/workben/svptest.cxx
@@ -308,7 +308,7 @@ void MyWin::Paint( const Rectangle& rRect )
Color aLightGreen( 0, 0xff, 0 );
Color aDarkGreen( 0, 0x40, 0 );
- Gradient aGradient( GRADIENT_LINEAR, aBlack, aWhite );
+ Gradient aGradient( GradientStyle_LINEAR, aBlack, aWhite );
aGradient.SetAngle( 900 );
DrawGradient( Rectangle( Point( 1000, 4500 ),
Size( aPaperSize.Width() - 2000,