r17197 by jghali - #10509 : crash on attempt to export as image

scribus-commit scribus-commit at lists.scribus.net
Thu Jan 12 23:04:17 UTC 2012


Author: jghali
Date: Thu Jan 12 23:04:17 2012
New Revision: 17197

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17197
Log:
#10509 : crash on attempt to export as image

Modified:
    trunk/Scribus/scribus/plugins/pixmapexport/export.cpp

Modified: trunk/Scribus/scribus/plugins/pixmapexport/export.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17197&path=/trunk/Scribus/scribus/plugins/pixmapexport/export.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/pixmapexport/export.cpp (original)
+++ trunk/Scribus/scribus/plugins/pixmapexport/export.cpp Thu Jan 12 23:04:17 2012
@@ -96,7 +96,7 @@
 	Q_ASSERT(target.isEmpty());
 	Q_ASSERT(!doc->masterPageMode());
 	QSharedPointer<ExportBitmap> ex( new ExportBitmap() );
-	QSharedPointer<ExportForm>  dia( new ExportForm(doc->scMW(), doc, ex->pageDPI, ex->quality, ex->bitmapType) );
+	QSharedPointer<ExportForm>  dia( new ExportForm(0, doc, ex->pageDPI, ex->quality, ex->bitmapType) );
 
 	// interval widgets handling
 	QString tmp;




More information about the scribus-commit mailing list