r20761 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Fri Jan 29 22:52:10 UTC 2016


Author: jghali
Date: Fri Jan 29 22:52:10 2016
New Revision: 20761

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20761
Log:
Array compared against 0 <coverity>

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20761&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp	(original)
+++ trunk/Scribus/scribus/pdflib_core.cpp	Fri Jan 29 22:52:10 2016
@@ -2827,7 +2827,7 @@
 								patternStackPos.push(QPointF(embedded->gXpos, ite->height() - embedded->gYpos));
 								inPattern++; // We are not really exporting a pattern, but that fix gradient export
 								if (!PDF_ProcessItem(output, embedded, pag, pag->pageNr(), true, true))
-									return "";
+									return false;
 								inPattern--;
 								patternStackPos.pop();
 								tmpD += output;




More information about the scribus-commit mailing list