From a9652ac90fe8722cf0a3848ae4acb7d3919e2110 Mon Sep 17 00:00:00 2001 From: Fabien Bodard Date: Thu, 26 Mar 2015 21:49:27 +0000 Subject: [PATCH] [GB.REPORT2] * BUG: Change Image.Gray() deprecated for Image.Desaturate() git-svn-id: svn://localhost/gambas/trunk@7002 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- comp/src/gb.report2/.src/Viewer/ReportView.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comp/src/gb.report2/.src/Viewer/ReportView.class b/comp/src/gb.report2/.src/Viewer/ReportView.class index a7046b134..d3f0c582c 100644 --- a/comp/src/gb.report2/.src/Viewer/ReportView.class +++ b/comp/src/gb.report2/.src/Viewer/ReportView.class @@ -84,7 +84,7 @@ Public Sub View_Draw((Page) As Integer, Width As Integer, Height As Integer) If $bGrayScale Then Paint.End - Paint.DrawImage(hImg.Gray(), 0, 0) + Paint.DrawImage(hImg.Desaturate(), 0, 0) Endif $hReport.Scale = 1.0 End