Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 25177 → Rev 25178

/trunk/Scribus/scribus/scxmlstreamreader.cpp
27,8 → 27,7
if (!att.isEmpty())
{
bool success = false;
QString strVal = QString::fromRawData(att.constData(), att.length());
int intVal = strVal.toInt(&success);
int intVal = att.toInt(&success);
if (success)
retValue = static_cast<bool>(intVal);
}
42,8 → 41,7
if (!att.isEmpty())
{
bool success = false;
QString strVal = QString::fromRawData(att.constData(), att.length());
int intVal = strVal.toInt(&success);
int intVal = att.toInt(&success);
if (success)
retValue = static_cast<bool>(intVal);
}
57,8 → 55,7
if (!att.isEmpty())
{
bool success = false;
QString strVal = QString::fromRawData(att.constData(), att.length());
int intVal = strVal.toInt(&success);
int intVal = att.toInt(&success);
if (success)
retValue = intVal;
}
72,8 → 69,7
if (!att.isEmpty())
{
bool success = false;
QString strVal = QString::fromRawData(att.constData(), att.length());
int intVal = strVal.toInt(&success);
int intVal = att.toInt(&success);
if (success)
retValue = intVal;
}
99,8 → 95,7
if (!att.isEmpty())
{
bool success = false;
QString strVal = QString::fromRawData(att.constData(), att.length());
uint intVal = strVal.toUInt(&success);
uint intVal = att.toUInt(&success);
if (success)
retValue = intVal;
}
114,8 → 109,7
if (!att.isEmpty())
{
bool success = false;
QString strVal = QString::fromRawData(att.constData(), att.length());
uint intVal = strVal.toUInt(&success);
uint intVal = att.toUInt(&success);
if (success)
retValue = intVal;
}