r24645 by jghali - Code style fixes
scribus-commit
scribus-commit at lists.scribus.net
Tue May 11 18:28:40 UTC 2021
Author: jghali
Date: Tue May 11 18:28:39 2021
New Revision: 24645
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24645
Log:
Code style fixes
Modified:
trunk/Scribus/scribus/imagedataloaders/scimgdataloader_psd.cpp
trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp
Modified: trunk/Scribus/scribus/imagedataloaders/scimgdataloader_psd.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24645&path=/trunk/Scribus/scribus/imagedataloaders/scimgdataloader_psd.cpp
==============================================================================
--- trunk/Scribus/scribus/imagedataloaders/scimgdataloader_psd.cpp (original)
+++ trunk/Scribus/scribus/imagedataloaders/scimgdataloader_psd.cpp Tue May 11 18:28:39 2021
@@ -204,7 +204,7 @@
{
s = (QRgb*)(m_imageInfoRecord.exifInfo.thumbnail.scanLine( yit ));
d = r_image.scanLine( yit );
- for (int xit =0 ; xit < m_imageInfoRecord.exifInfo.thumbnail.width(); ++xit)
+ for (int xit = 0; xit < m_imageInfoRecord.exifInfo.thumbnail.width(); ++xit)
{
if (isCMYK)
{
Modified: trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24645&path=/trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp
==============================================================================
--- trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp (original)
+++ trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp Tue May 11 18:28:39 2021
@@ -283,7 +283,7 @@
if (yt > (uint) image->height())
break;
if (image->height()-yt < rows)
- tileH = image->height()-yt;
+ tileH = image->height() - yt;
tileW = columns;
uint32_t yi;
int chans = image->channels();
@@ -292,7 +292,7 @@
TIFFReadTile(tif, tile_buf, xt, yt, 0, 0);
for (yi = 0; yi < tileH; yi++)
{
- _TIFFmemcpy(image->scanLine(yt+(tileH-1-yi))+xt, tile_buf+tileW*yi, tileW*chans);
+ _TIFFmemcpy(image->scanLine(yt + (tileH - 1 - yi)) + xt, tile_buf + tileW * yi, tileW * chans);
}
}
}
More information about the scribus-commit
mailing list