r21567 by jghali - #14401: Build issue with 1.5.3 after CTL merge
scribus-commit
scribus-commit at lists.scribus.net
Sun Dec 4 11:24:40 UTC 2016
Author: jghali
Date: Sun Dec 4 11:24:40 2016
New Revision: 21567
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21567
Log:
#14401: Build issue with 1.5.3 after CTL merge
Modified:
trunk/Scribus/scribus/text/boxes.cpp
Modified: trunk/Scribus/scribus/text/boxes.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21567&path=/trunk/Scribus/scribus/text/boxes.cpp
==============================================================================
--- trunk/Scribus/scribus/text/boxes.cpp (original)
+++ trunk/Scribus/scribus/text/boxes.cpp Sun Dec 4 11:24:40 2016
@@ -315,7 +315,9 @@
void LineBox::update()
{
m_naturalWidth = m_naturalAscent = m_naturalDecent = 0;
- for (const auto &box : boxes()) {
+ for (int i = 0; i < m_boxes.count(); ++i)
+ {
+ Box* box = m_boxes[i];
m_firstChar = qMin(m_firstChar, box->firstChar());
m_lastChar = qMax(m_lastChar, box->lastChar());
More information about the scribus-commit
mailing list