From 6d78c490b0923c22d125286ebdae2e41edd28f6c Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Mon, 11 Jun 2012 16:41:34 +0200 Subject: Get rid of GRADIENT_* defines, they conflict with Windows GDI types. Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931 --- padmin/source/padialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'padmin') 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, -- cgit