summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/textdocument-tables/xmlwriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/textdocument-tables/xmlwriter.cpp')
-rw-r--r--doc/src/snippets/textdocument-tables/xmlwriter.cpp2
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) {