From 7e1f826822ecfe9b4530be474ff563d510bbc1b5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 27 Jan 2014 16:02:43 +0000 Subject: coverity#704393 Logically dead code Change-Id: Id46cdef80e3e8d4b56c22e8efc72aca885e0f406 --- vcl/source/gdi/outdev6.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'vcl') diff --git a/vcl/source/gdi/outdev6.cxx b/vcl/source/gdi/outdev6.cxx index 1b194d5076dc..bd8f10ebd414 100644 --- a/vcl/source/gdi/outdev6.cxx +++ b/vcl/source/gdi/outdev6.cxx @@ -359,12 +359,6 @@ void OutputDevice::DrawTransparent( const PolyPolygon& rPolyPoly, if( OUTDEV_PRINTER == meOutDevType ) { - if(100 <= nTransparencePercent) - { - // #i112959# 100% transparent, draw nothing - return; - } - Rectangle aPolyRect( LogicToPixel( rPolyPoly ).GetBoundRect() ); const Size aDPISize( LogicToPixel( Size( 1, 1 ), MAP_INCH ) ); const long nBaseExtent = std::max( FRound( aDPISize.Width() / 300. ), 1L ); -- cgit