Commit 26857d54 authored by Pino Toscano's avatar Pino Toscano

SVN_SILENT don't allocate a matrix in the rare case there's no need for it

svn path=/trunk/KDE/kdegraphics/okular/; revision=688310
parent 3c009773
......@@ -45,13 +45,13 @@ PagePrivate * RotationJob::page() const
void RotationJob::run()
{
QMatrix matrix;
if ( mOldRotation == mNewRotation ) {
mRotatedImage = mImage;
return;
}
QMatrix matrix;
if ( mOldRotation == Rotation0 ) {
if ( mNewRotation == Rotation90 )
matrix.rotate( 90 );
......
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