Commit 76126bf2 authored by Pino Toscano's avatar Pino Toscano

swapping was needed... 3 years ago, but it is not anymore

BUG: 194572

svn path=/trunk/KDE/kdegraphics/okular/; revision=979245
parent 1faa6e2f
......@@ -266,8 +266,6 @@ QImage TIFFGenerator::image( Okular::PixmapRequest * request )
uint32 orientation = 0;
TIFFGetField( d->tiff, TIFFTAG_IMAGEWIDTH, &width );
TIFFGetField( d->tiff, TIFFTAG_IMAGELENGTH, &height );
if ( rotation % 2 == 1 )
qSwap( width, height );
if ( !TIFFGetField( d->tiff, TIFFTAG_ORIENTATION, &orientation ) )
orientation = ORIENTATION_TOPLEFT;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment