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

scribus-commit scribus-commit at lists.scribus.net
Thu Jan 12 23:03:46 UTC 2012


Author: jghali
Date: Thu Jan 12 23:03:46 2012
New Revision: 17196

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

Modified:
    branches/Version14x/Scribus/scribus/plugins/pixmapexport/export.cpp

Modified: branches/Version14x/Scribus/scribus/plugins/pixmapexport/export.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17196&path=/branches/Version14x/Scribus/scribus/plugins/pixmapexport/export.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/pixmapexport/export.cpp (original)
+++ branches/Version14x/Scribus/scribus/plugins/pixmapexport/export.cpp Thu Jan 12 23:03:46 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