summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/textblock-fragments/xmlwriter.cpp
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2011-02-21 14:55:16 (GMT)
committerGeir Vattekar <geir.vattekar@nokia.com>2011-02-21 14:55:16 (GMT)
commiteb4ba6200e3d64e5e48ab3bb09d9fad0ca0092c3 (patch)
tree1e7f434bfcb5574225cc7f8cd9f7f1fb4f136d6b /doc/src/snippets/textblock-fragments/xmlwriter.cpp
parent6bc32422044bf956d57301c934d5e90ebc977b22 (diff)
downloadQt-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/textblock-fragments/xmlwriter.cpp')
-rw-r--r--doc/src/snippets/textblock-fragments/xmlwriter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/src/snippets/textblock-fragments/xmlwriter.cpp b/doc/src/snippets/textblock-fragments/xmlwriter.cpp
index 9f66d9a..252720b 100644
--- a/doc/src/snippets/textblock-fragments/xmlwriter.cpp
+++ b/doc/src/snippets/textblock-fragments/xmlwriter.cpp
@@ -102,11 +102,10 @@ void XmlWriter::readFragment(const QTextBlock &currentBlock,
QDomText fragmentText = document->createTextNode(currentFragment.text());
fragmentElement.appendChild(fragmentText);
-//! [6]
}
-//! [7]
- }
//! [6] //! [7]
+ }
+//! [7] //! [6]
}
void XmlWriter::processBlock(const QTextBlock &currentBlock)