diff options
author | Paul Wicking <paul.wicking@qt.io> | 2020-04-30 14:48:16 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2020-05-04 14:42:36 +0200 |
commit | ef753fa0bcb49bab15ffb0d2fa23fc2473552eb8 (patch) | |
tree | 5eb8ee53e7506594a8484458775ed50e601157b5 /src/qdoc/codechunk.cpp | |
parent | f9e422f3361898155bce8651a074fdea6e65f5ed (diff) | |
download | qttools-ef753fa0bcb49bab15ffb0d2fa23fc2473552eb8.tar.gz |
QDoc: Get rid of unused code in CodeChunk
Task-number: QTBUG-71176
Change-Id: Ic3bcddd7210c8386c1feff7ef791a369206e3cb3
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qdoc/codechunk.cpp')
-rw-r--r-- | src/qdoc/codechunk.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/qdoc/codechunk.cpp b/src/qdoc/codechunk.cpp index d6293432e..560058abe 100644 --- a/src/qdoc/codechunk.cpp +++ b/src/qdoc/codechunk.cpp @@ -133,16 +133,4 @@ void CodeChunk::append(const QString &lexeme) s += lexeme; } -/*! - Converts the string with a regular expression that I think - removes the angle brackets parts and then splits it on "::". - The result is returned as a string list. - */ -QStringList CodeChunk::toPath() const -{ - QString t = s; - t.remove(QRegExp(QLatin1String("<([^<>]|<([^<>]|<[^<>]*>)*>)*>"))); - return t.split(QLatin1String("::")); -} - QT_END_NAMESPACE |