diff --git a/ui/pagepainter.cpp b/ui/pagepainter.cpp index 57e8620cd..3bcd8bc4c 100644 --- a/ui/pagepainter.cpp +++ b/ui/pagepainter.cpp @@ -63,10 +63,10 @@ void PagePainter::paintCroppedPageOnPainter( QPainter * destPainter, const Okula Okular::DocumentObserver *observer, int flags, int scaledWidth, int scaledHeight, const QRect &limits, const Okular::NormalizedRect &crop, Okular::NormalizedPoint *viewPortPoint ) { - /* Calculate the cropped geometry of the page */ - QRect scaledCrop = crop.geometry( scaledWidth, scaledHeight ); - int croppedWidth = scaledCrop.width(); - int croppedHeight = scaledCrop.height(); + /* Calculate the cropped geometry of the page */ + QRect scaledCrop = crop.geometry( scaledWidth, scaledHeight ); + int croppedWidth = scaledCrop.width(); + int croppedHeight = scaledCrop.height(); QColor paperColor = Qt::white; QColor backgroundColor = paperColor;