r23876 by craig - Fix build error

scribus-commit scribus-commit at lists.scribus.net
Thu Jun 4 15:32:13 UTC 2020


Author: craig
Date: Thu Jun  4 15:32:13 2020
New Revision: 23876

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23876
Log:
Fix build error

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23876&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Thu Jun  4 15:32:13 2020
@@ -4603,7 +4603,7 @@
 		prnEngine = dynamic_cast<ScPrintEngine*>(gdiEngine);
 	}
 #else
-	prnEngine = dynamic_cast<ScPrintEngine*>(new ScPrintEngine_PS());
+	prnEngine = dynamic_cast<ScPrintEngine*>(new ScPrintEngine_PS(*doc));
 #endif
 	if (prnEngine)
 	{




More information about the scribus-commit mailing list