r20848 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 1 07:47:27 UTC 2016


Author: jghali
Date: Mon Feb  1 07:47:27 2016
New Revision: 20848

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20848
Log:
coverity #1350534/535: array compared against 0

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20848&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp	(original)
+++ trunk/Scribus/scribus/pdflib_core.cpp	Mon Feb  1 07:47:27 2016
@@ -2791,7 +2791,7 @@
 								tmpD +=  "1 0 0 1 "+FToStr(embedded->gXpos)+" "+FToStr(ite->height() - embedded->gYpos)+" cm\n";
 								QByteArray output;
 								if (!PDF_ProcessItem(output, embedded, pag, pag->pageNr(), true))
-									return "";
+									return false;
 								tmpD += output;
 								tmpD += "Q\n";
 							}
@@ -4677,7 +4677,7 @@
 					tmpD +=  "1 0 0 1 "+FToStr(embedded->gXpos)+" "+FToStr(ite->height() - embedded->gYpos)+" cm\n";
 					QByteArray output;
 					if (!PDF_ProcessItem(output, embedded, pag, PNr, true))
-						return "";
+						return false;
 					tmpD += output;
 					tmpD += "Q\n";
 				}




More information about the scribus-commit mailing list