r19599 by jghali - #12778, patch 11/17: fix a series of warnings from clang

scribus-commit scribus-commit at lists.scribus.net
Sat Oct 18 13:01:24 UTC 2014


Author: jghali
Date: Sat Oct 18 13:01:24 2014
New Revision: 19599

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19599
Log:
#12778, patch 11/17: fix a series of warnings from clang

Modified:
    trunk/Scribus/scribus/scimgdataloader.cpp

Modified: trunk/Scribus/scribus/scimgdataloader.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19599&path=/trunk/Scribus/scribus/scimgdataloader.cpp
==============================================================================
--- trunk/Scribus/scribus/scimgdataloader.cpp (original)
+++ trunk/Scribus/scribus/scimgdataloader.cpp Sat Oct 18 13:01:24 2014
@@ -247,7 +247,7 @@
 					s.readRawData(buffer, thsize);
 					QImage imth;
 					imth.loadFromData((const uchar*)buffer, thsize, "JPEG");
-					imth.convertToFormat(QImage::Format_ARGB32);
+					imth = imth.convertToFormat(QImage::Format_ARGB32);
 					if (resID == 0x0409)
 						m_imageInfoRecord.exifInfo.thumbnail = imth.rgbSwapped();
 					else




More information about the scribus-commit mailing list