diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-30 13:02:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-31 14:08:44 +0200 |
commit | d4442ac1ac9aae36dbc08fda8154d71ea0f81708 (patch) | |
tree | 62fdc7419391dbf8c1cd92872ba2c9e12df2c4b6 /svx/source/dialog/_contdlg.cxx | |
parent | b7939ff897a173086643819451c7b2b4553c11c3 (diff) |
drop Graphic::GetBitmap
so that we flush out various code using Bitmap, in favour of using
BitmapEx.
This is part of the process of making Bitmap largely an internal detail
of vcl
Change-Id: Iaf2ead5e3d9960838723fb55b812b97108093d74
Reviewed-on: https://gerrit.libreoffice.org/55062
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/dialog/_contdlg.cxx')
-rw-r--r-- | svx/source/dialog/_contdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx index a8a9d47708f1..aa5e1577aa04 100644 --- a/svx/source/dialog/_contdlg.cxx +++ b/svx/source/dialog/_contdlg.cxx @@ -140,7 +140,7 @@ tools::PolyPolygon SvxContourDlg::CreateAutoContour( const Graphic& rGraphic, aBmp = rGraphic.GetBitmapEx().GetMask(); else { - aBmp = rGraphic.GetBitmap(); + aBmp = rGraphic.GetBitmapEx().GetBitmap(); nContourFlags |= XOutFlags::ContourEdgeDetect; } } @@ -689,7 +689,7 @@ IMPL_LINK( SvxSuperContourDlg, PipetteClickHdl, ContourWindow&, rWnd, void ) if( aGraphic.GetType() == GraphicType::Bitmap ) { - Bitmap aBmp( aGraphic.GetBitmap() ); + Bitmap aBmp( aGraphic.GetBitmapEx().GetBitmap() ); const long nTol = static_cast<long>(m_pMtfTolerance->GetValue() * 255L / 100L); aMask = aBmp.CreateMask( rColor, nTol ); |