diff options
Diffstat (limited to 'src/qdoc/qmlcodemarker.cpp')
-rw-r--r-- | src/qdoc/qmlcodemarker.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/qdoc/qmlcodemarker.cpp b/src/qdoc/qmlcodemarker.cpp index 3ad787c93..20b2ccffc 100644 --- a/src/qdoc/qmlcodemarker.cpp +++ b/src/qdoc/qmlcodemarker.cpp @@ -143,13 +143,7 @@ QString QmlCodeMarker::addMarkUp(const QString &code, const Node * /* relative * Copied and pasted from src/declarative/qml/qqmlscriptparser.cpp. */ -static void replaceWithSpace(QString &str, int idx, int n) -{ - QChar *data = str.data() + idx; - const QChar space(QLatin1Char(' ')); - for (int ii = 0; ii < n; ++ii) - *data++ = space; -} +void replaceWithSpace(QString &str, int idx, int n); // qmlcodeparser.cpp /* Copied and pasted from |