/trunk/Scribus/scribus/third_party/rtf-qt/sladocumentrtfoutput.cpp |
---|
108,7 → 108,7 |
{ |
int posC = m_item->itemText.length(); |
QString m_txt = text; |
if (text.count() > 0) |
if (text.length() > 0) |
{ |
m_txt.replace(QChar(10), SpecialChars::LINEBREAK); |
m_txt.replace(QChar(12), SpecialChars::FRAMEBREAK); |
/trunk/Scribus/scribus/third_party/zip/unzip.cpp |
---|
474,7 → 474,7 |
quint16 commentLength = getUShort((const unsigned char*)buffer1, UNZIP_EOCD_OFF_COMMLEN + 4); |
if (commentLength != 0) { |
QByteArray c = device->read(commentLength); |
if (c.count() != commentLength) |
if (c.size() != commentLength) |
return UnZip::ReadFailed; |
comment = c; |