r23728 by jghali - Fix coverity 1350601: Uninitialized scalar variable

scribus-commit scribus-commit at lists.scribus.net
Sun May 10 12:43:23 UTC 2020


Author: jghali
Date: Sun May 10 12:43:23 2020
New Revision: 23728

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23728
Log:
Fix coverity 1350601: 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=23728&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp	(original)
+++ trunk/Scribus/scribus/pdflib_core.cpp	Sun May 10 12:43:23 2020
@@ -1916,6 +1916,7 @@
 {
 	PdfFont result;
 	result.name = Pdf::toName(fontName);
+	result.usage = Used_in_Content;
 	result.method = isEmbedded? Use_Embedded : Use_System;
 	result.encoding = Encode_224;
 	




More information about the scribus-commit mailing list