diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-06-11 16:41:34 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-06-12 16:31:43 +0200 |
commit | 6d78c490b0923c22d125286ebdae2e41edd28f6c (patch) | |
tree | 911ec6d9b8ab876db06e296a2e2517da797d8d30 /vcl/workben | |
parent | 99ced0bdaedeedd13de73a66e159f45cada6e3b4 (diff) |
Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/outdevgrind.cxx | 2 | ||||
-rw-r--r-- | vcl/workben/svptest.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/workben/outdevgrind.cxx b/vcl/workben/outdevgrind.cxx index 96b657236a14..323feee5d94f 100644 --- a/vcl/workben/outdevgrind.cxx +++ b/vcl/workben/outdevgrind.cxx @@ -145,7 +145,7 @@ void setupMethodStubs( functor_vector_type& res ) const BitmapEx aBitmapExAlphaAlien( aBitmapAlien, aBitmapAlien ); const Image aImage( aBitmapEx ); - const Gradient aGradient(GRADIENT_ELLIPTICAL,aBlackColor,aWhiteColor); + const Gradient aGradient(GradientStyle_ELLIPTICAL,aBlackColor,aWhiteColor); const Hatch aHatch(HatchStyle_TRIPLE,aBlackColor,4,450); const Wallpaper aWallpaper( aWhiteColor ); 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, |