summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 16:02:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 17:03:07 +0000
commit7e1f826822ecfe9b4530be474ff563d510bbc1b5 (patch)
treedc89eafe9f79dd8eb970c8513fecc697237ea2be /vcl
parent6e37a423fd906728d8fb7b05df4ca0123b524f62 (diff)
coverity#704393 Logically dead code
Change-Id: Id46cdef80e3e8d4b56c22e8efc72aca885e0f406
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/outdev6.cxx6
1 files changed, 0 insertions, 6 deletions
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 );