diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:18 +0200 |
commit | 8dc5f89346fa0f6820d5fd0b1ad4092168967f12 (patch) | |
tree | f3742c90480393565c89ffdd0cb1cee639c65d0d /vcl/source/gdi/pdfwriter_impl2.cxx | |
parent | 286dfc2a720ea8bd6b26c10126202fa25a112e0f (diff) |
loplugin: defaultparams
Change-Id: I79a889c68e91712d2abdacc559c78813f730e623
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl2.cxx')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index 9c4150f8f57a..cf734cc95a07 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -459,7 +459,7 @@ void PDFWriterImpl::playMetafile( const GDIMetaFile& i_rMtf, vcl::PDFExtOutDevDa xVDev->EnableMapMode( false ); aPaint = xVDev->GetBitmap( aPoint, aDstSizePixel ); - xVDev->EnableMapMode( true ); + xVDev->EnableMapMode(); // create mask bitmap xVDev->SetLineColor( COL_BLACK ); @@ -472,7 +472,7 @@ void PDFWriterImpl::playMetafile( const GDIMetaFile& i_rMtf, vcl::PDFExtOutDevDa aTmpMtf.WindStart(); xVDev->EnableMapMode( false ); aMask = xVDev->GetBitmap( aPoint, aDstSizePixel ); - xVDev->EnableMapMode( true ); + xVDev->EnableMapMode(); // create alpha mask from gradient xVDev->SetDrawMode( DrawModeFlags::GrayGradient ); |