diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-06-13 08:58:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-13 08:58:42 (GMT) |
commit | 64c7301d7ffa1c6eef5a1f9a4a58268d2b735da4 (patch) | |
tree | edd544203ef32da2ea670358697cba1746c9fee7 /src/util.cpp | |
parent | 8516c0a1a979aff077ad029acd9a18271086542f (diff) | |
parent | 0ee3c373963c91bc5cbaf220764483a6f05d977e (diff) | |
download | Doxygen-64c7301d7ffa1c6eef5a1f9a4a58268d2b735da4.zip Doxygen-64c7301d7ffa1c6eef5a1f9a4a58268d2b735da4.tar.gz Doxygen-64c7301d7ffa1c6eef5a1f9a4a58268d2b735da4.tar.bz2 |
Merge pull request #8589 from albert-github/feature/bug_cite
Problem with cite command (tests 12)
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index 7c469ab..75a86a1 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -5205,6 +5205,12 @@ QCString rtfFormatBmkStr(const QCString &name) // substitute a short arbitrary string for the name // supplied, and keep track of the correspondence // between names and strings. + auto it = g_tagMap.find(name.str()); + if (it!=g_tagMap.end()) // already known + { + return QCString(it->second); + } + QCString tag = g_nextTag; auto result = g_tagMap.insert( std::make_pair(name.str(), g_nextTag.str()) ); |