r23759 by jghali - Fix coverity 1350599: Uninitialized scalar variable

scribus-commit scribus-commit at lists.scribus.net
Mon May 11 12:02:08 UTC 2020


Author: jghali
Date: Mon May 11 12:02:08 2020
New Revision: 23759

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23759
Log:
Fix coverity 1350599: Uninitialized scalar variable

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23759&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp	(original)
+++ trunk/Scribus/scribus/pdflib_core.cpp	Mon May 11 12:02:08 2020
@@ -1431,6 +1431,7 @@
 {
 	PdfFont result;
 	result.name = Pdf::toName(name);
+	result.usage = Used_in_Content;
 	result.method = Use_Type3;
 	result.encoding = Encode_256;
 




More information about the scribus-commit mailing list