diff options
author | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2010-07-15 13:43:18 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2010-07-15 13:43:18 +0200 |
commit | 676216ee1ce7e38d3f3a4584444334dfa3db18c5 (patch) | |
tree | be6a76bf43b3719d4312aa8f1e390f522db98be0 /vcl | |
parent | 16d3845e2f262f63ccbf5b003881ab44c926b780 (diff) |
#i112959# corrected comparison
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/outdev6.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/gdi/outdev6.cxx b/vcl/source/gdi/outdev6.cxx index ebb91c82367d..819d205079e8 100644 --- a/vcl/source/gdi/outdev6.cxx +++ b/vcl/source/gdi/outdev6.cxx @@ -345,13 +345,12 @@ void OutputDevice::DrawTransparent( const PolyPolygon& rPolyPoly, if( OUTDEV_PRINTER == meOutDevType ) { - if(100 >= nTransparencePercent) + 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 = Max( FRound( aDPISize.Width() / 300. ), 1L ); |