diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-06-11 16:41:34 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-17 17:06:36 +0200 |
commit | 8806e00dbc14b55cff6072f0f6dcf90e0a11a079 (patch) | |
tree | e5fc0f2b640fab71fc38601830a1c0ae2636addf /vcl/workben | |
parent | 70ed7beae7b21e391df0a246078c2103f8b3fe3a (diff) |
Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
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, |