summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextdocumentfragment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qtextdocumentfragment.cpp')
-rw-r--r--src/gui/text/qtextdocumentfragment.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/text/qtextdocumentfragment.cpp b/src/gui/text/qtextdocumentfragment.cpp
index 6ea13f176f..4344522a5d 100644
--- a/src/gui/text/qtextdocumentfragment.cpp
+++ b/src/gui/text/qtextdocumentfragment.cpp
@@ -891,10 +891,10 @@ QTextHtmlImporter::Table QTextHtmlImporter::scanTable(int tableNodeIdx)
Table table;
table.columns = 0;
- QVector<QTextLength> columnWidths;
+ QList<QTextLength> columnWidths;
int tableHeaderRowCount = 0;
- QVector<int> rowNodes;
+ QList<int> rowNodes;
rowNodes.reserve(at(tableNodeIdx).children.count());
for (int row : at(tableNodeIdx).children) {
switch (at(row).id) {
@@ -916,8 +916,8 @@ QTextHtmlImporter::Table QTextHtmlImporter::scanTable(int tableNodeIdx)
}
}
- QVector<RowColSpanInfo> rowColSpans;
- QVector<RowColSpanInfo> rowColSpanForColumn;
+ QList<RowColSpanInfo> rowColSpans;
+ QList<RowColSpanInfo> rowColSpanForColumn;
int effectiveRow = 0;
for (int row : qAsConst(rowNodes)) {