diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2011-02-21 14:55:16 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2011-02-21 14:55:16 (GMT) |
commit | eb4ba6200e3d64e5e48ab3bb09d9fad0ca0092c3 (patch) | |
tree | 1e7f434bfcb5574225cc7f8cd9f7f1fb4f136d6b /doc/src/snippets/textdocument-tables | |
parent | 6bc32422044bf956d57301c934d5e90ebc977b22 (diff) | |
download | Qt-eb4ba6200e3d64e5e48ab3bb09d9fad0ca0092c3.zip Qt-eb4ba6200e3d64e5e48ab3bb09d9fad0ca0092c3.tar.gz Qt-eb4ba6200e3d64e5e48ab3bb09d9fad0ca0092c3.tar.bz2 |
Doc: Fixed snippet bugs in richtext-structure.html
Task-number: QTBUG-17303
Diffstat (limited to 'doc/src/snippets/textdocument-tables')
-rw-r--r-- | doc/src/snippets/textdocument-tables/xmlwriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/snippets/textdocument-tables/xmlwriter.cpp b/doc/src/snippets/textdocument-tables/xmlwriter.cpp index d1d6798..8f98295 100644 --- a/doc/src/snippets/textdocument-tables/xmlwriter.cpp +++ b/doc/src/snippets/textdocument-tables/xmlwriter.cpp @@ -98,6 +98,8 @@ void XmlWriter::processFrame(QDomElement &parent, QTextFrame *frame) parent.appendChild(frameElement); //! [0] + QDomElement frameElement = ... + QTextFrame::iterator it; for (it = frame->begin(); !(it.atEnd()); ++it) { |