summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/qcomplextext/tst_qcomplextext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/other/qcomplextext/tst_qcomplextext.cpp')
-rw-r--r--tests/auto/other/qcomplextext/tst_qcomplextext.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/auto/other/qcomplextext/tst_qcomplextext.cpp b/tests/auto/other/qcomplextext/tst_qcomplextext.cpp
index 9ca61a69b4..1ba211aa0a 100644
--- a/tests/auto/other/qcomplextext/tst_qcomplextext.cpp
+++ b/tests/auto/other/qcomplextext/tst_qcomplextext.cpp
@@ -288,7 +288,8 @@ void tst_QComplexText::bidiCursor_PDF()
QVERIFY(line.cursorToX(size) == line.cursorToX(size - 1));
}
-static void testBidiString(const QString &data, int paragraphDirection, const QVector<int> &resolvedLevels, const QVector<int> &visualOrder)
+static void testBidiString(const QString &data, int paragraphDirection,
+ const QList<int> &resolvedLevels, const QList<int> &visualOrder)
{
Q_UNUSED(resolvedLevels);
@@ -398,7 +399,7 @@ void tst_QComplexText::bidiCharacterTest()
int paragraphDirection = parts.at(1).toInt();
// int resolvedParagraphLevel = parts.at(2).toInt();
- QVector<int> resolvedLevels;
+ QList<int> resolvedLevels;
QList<QByteArray> levelParts = parts.at(3).split(' ');
for (const auto &p : levelParts) {
if (p == "x") {
@@ -410,7 +411,7 @@ void tst_QComplexText::bidiCharacterTest()
}
}
- QVector<int> visualOrder;
+ QList<int> visualOrder;
QList<QByteArray> orderParts = parts.at(4).split(' ');
for (const auto &p : orderParts) {
bool ok;
@@ -470,8 +471,8 @@ void tst_QComplexText::bidiTest()
f.open(QIODevice::ReadOnly);
int linenum = 0;
- QVector<int> resolvedLevels;
- QVector<int> visualOrder;
+ QList<int> resolvedLevels;
+ QList<int> visualOrder;
while (!f.atEnd()) {
linenum++;