diff options
Diffstat (limited to 'src/gui/text/qtextodfwriter_p.h')
-rw-r--r-- | src/gui/text/qtextodfwriter_p.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/text/qtextodfwriter_p.h b/src/gui/text/qtextodfwriter_p.h index 53d9084d80..2c41dfba67 100644 --- a/src/gui/text/qtextodfwriter_p.h +++ b/src/gui/text/qtextodfwriter_p.h @@ -55,11 +55,11 @@ // We mean it. // -#include <QtCore/QXmlStreamWriter> #include <QtCore/qhash.h> +#include <QtCore/qlist.h> #include <QtCore/qset.h> #include <QtCore/qstack.h> -#include <QtCore/qvector.h> +#include <QtCore/QXmlStreamWriter> #include "qtextdocument_p.h" #include "qtextdocumentwriter.h" @@ -96,8 +96,8 @@ public: void writeListFormat(QXmlStreamWriter &writer, QTextListFormat format, int formatIndex) const; void writeFrameFormat(QXmlStreamWriter &writer, QTextFrameFormat format, int formatIndex) const; void writeTableFormat(QXmlStreamWriter &writer, QTextTableFormat format, int formatIndex) const; - void writeTableCellFormat(QXmlStreamWriter &writer, QTextTableCellFormat format, int formatIndex, - QVector<QTextFormat> &styles) const; + void writeTableCellFormat(QXmlStreamWriter &writer, QTextTableCellFormat format, + int formatIndex, QList<QTextFormat> &styles) const; void writeFrame(QXmlStreamWriter &writer, const QTextFrame *frame); void writeInlineCharacter(QXmlStreamWriter &writer, const QTextFragment &fragment) const; @@ -119,7 +119,7 @@ private: QStack<QTextList *> m_listStack; - QHash<int, QVector<int>> m_cellFormatsInTablesWithBorders; + QHash<int, QList<int>> m_cellFormatsInTablesWithBorders; QSet<int> m_tableFormatsWithBorders; mutable QSet<int> m_tableFormatsWithColWidthConstraints; }; |