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 /padmin/source | |
parent | 99ced0bdaedeedd13de73a66e159f45cada6e3b4 (diff) |
Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
Diffstat (limited to 'padmin/source')
-rw-r--r-- | padmin/source/padialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/padmin/source/padialog.cxx b/padmin/source/padialog.cxx index 3da1b5df4cb3..3bce4e59b995 100644 --- a/padmin/source/padialog.cxx +++ b/padmin/source/padialog.cxx @@ -501,7 +501,7 @@ void SpaPrinterController::printPage( int ) const 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 ); pPrinter->DrawGradient( Rectangle( Point( 1000, 5500 ), Size( aPaperSize.Width() - 2000, |