r24012 by jghali - Fix compiler warnings

scribus-commit scribus-commit at lists.scribus.net
Sat Sep 12 21:32:59 UTC 2020


Author: jghali
Date: Sat Sep 12 21:32:59 2020
New Revision: 24012

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24012
Log:
Fix compiler warnings

Modified:
    trunk/Scribus/scribus/ui/printpreview.cpp

Modified: trunk/Scribus/scribus/ui/printpreview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24012&path=/trunk/Scribus/scribus/ui/printpreview.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/printpreview.cpp	(original)
+++ trunk/Scribus/scribus/ui/printpreview.cpp	Sat Sep 12 21:32:59 2020
@@ -484,10 +484,7 @@
 
 QPixmap PrintPreview::createPreview(int pageIndex, int res)
 {
-	int ret = -1;
 	QPixmap pixmap;
-	double b = doc->Pages->at(pageIndex)->width() * res / 72.0;
-	double h = doc->Pages->at(pageIndex)->height() * res / 72.0;
 
 	qApp->setOverrideCursor(QCursor(Qt::WaitCursor));
 




More information about the scribus-commit mailing list