From 7ab5e5c8902de8cc7429d863b4ab6e40ad4b3bbc Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 25 Feb 2018 22:16:39 +1100 Subject: vcl: Bitmap::MakeMono() -> Bitmap::MakeMonochrome() Change-Id: I6b5259d56e8fe5855f8a1125bb87a3dea8e5f425 Reviewed-on: https://gerrit.libreoffice.org/50301 Tested-by: Jenkins Reviewed-by: Noel Grandin --- canvas/source/vcl/canvashelper.cxx | 2 +- canvas/source/vcl/spritehelper.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'canvas') diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx index 761a2fdc22b1..1576419716e6 100644 --- a/canvas/source/vcl/canvashelper.cxx +++ b/canvas/source/vcl/canvashelper.cxx @@ -742,7 +742,7 @@ namespace vclcanvas if( aBmpEx.IsAlpha() ) { Bitmap aMask( aBmpEx.GetAlpha().GetBitmap() ); - aMask.MakeMono( 253 ); + aMask.MakeMonochrome(253); aBmpEx = BitmapEx( aBmpEx.GetBitmap(), aMask ); } else if( aBmpEx.IsTransparent() ) diff --git a/canvas/source/vcl/spritehelper.cxx b/canvas/source/vcl/spritehelper.cxx index 1b7d3c3cde72..366d0a5b9829 100644 --- a/canvas/source/vcl/spritehelper.cxx +++ b/canvas/source/vcl/spritehelper.cxx @@ -153,7 +153,7 @@ namespace vclcanvas { OSL_FAIL("CanvasCustomSprite::redraw(): Mask bitmap is not " "monochrome (performance!)"); - aMask.MakeMono(255); + aMask.MakeMonochrome(255); } #endif -- cgit