Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
return QLocalePrivate::findLocale(lang, script, cntry);
}
-QString qt_readEscapedFormatString(const QString &format, int *idx)
+static QString qt_readEscapedFormatString(const QString &format, int *idx)
{
int &i = *idx;
return result;
}
-int qt_repeatCount(const QString &s, int i)
+static int qt_repeatCount(const QString &s, int i)
{
- QChar c = s.at(i);
int j = i + 1;
- while (j < s.size() && s.at(j) == c)
+ while (j < s.size() && s.at(j) == s.at(i))
++j;
return j - i;
}
return 0;
}
-
-QString qt_readEscapedFormatString(const QString &format, int *idx);
bool qt_splitLocaleName(const QString &name, QString &lang, QString &script, QString &cntry);
-int qt_repeatCount(const QString &s, int i);
QT_END_NAMESPACE