summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/textblock-fragments/xmlwriter.cpp
diff options
context:
space:
mode:
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)