summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/textblock-fragments/xmlwriter.cpp
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2011-02-23 20:32:21 (GMT)
committerMorten Engvoldsen <morten.engvoldsen@nokia.com>2011-02-23 20:32:21 (GMT)
commitc881e33e7e510204fabd061dac08a00b10b432fb (patch)
treeb5a5210eef8d309a17aca7d20b457879b584913f /doc/src/snippets/textblock-fragments/xmlwriter.cpp
parent309c48a70b46678ef92da441fcc2dc96ceb8fcf3 (diff)
parent3c982b5d214cc7a37ace1d956ac8fb0b9a281722 (diff)
downloadQt-c881e33e7e510204fabd061dac08a00b10b432fb.zip
Qt-c881e33e7e510204fabd061dac08a00b10b432fb.tar.gz
Qt-c881e33e7e510204fabd061dac08a00b10b432fb.tar.bz2
Merge branch '4.7' into mimir
Diffstat (limited to 'doc/src/snippets/textblock-fragments/xmlwriter.cpp')
-rw-r--r--doc/src/snippets/textblock-fragments/xmlwriter.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/src/snippets/textblock-fragments/xmlwriter.cpp b/doc/src/snippets/textblock-fragments/xmlwriter.cpp
index 7a29016..252720b 100644
--- a/doc/src/snippets/textblock-fragments/xmlwriter.cpp
+++ b/doc/src/snippets/textblock-fragments/xmlwriter.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
@@ -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)