summaryrefslogtreecommitdiffstats
path: root/src/cmdmapper.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-04-28 18:58:23 (GMT)
committerGitHub <noreply@github.com>2021-04-28 18:58:23 (GMT)
commit200c31bf342c533de77fede161e18e395c5ce875 (patch)
treeab3e4df7e6d88c5907d89fc8ef66fcd28738ae20 /src/cmdmapper.cpp
parentb95b4766c7107e9b3ff0969534fe54c131412249 (diff)
parenta9f40a48c99af952836a3871e60ff6ca17ecdecf (diff)
downloadDoxygen-200c31bf342c533de77fede161e18e395c5ce875.zip
Doxygen-200c31bf342c533de77fede161e18e395c5ce875.tar.gz
Doxygen-200c31bf342c533de77fede161e18e395c5ce875.tar.bz2
Merge branch 'master' into feature/bug_formula_mj
Diffstat (limited to 'src/cmdmapper.cpp')
-rw-r--r--src/cmdmapper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmdmapper.cpp b/src/cmdmapper.cpp
index 264a74b..bc8719a 100644
--- a/src/cmdmapper.cpp
+++ b/src/cmdmapper.cpp
@@ -233,10 +233,10 @@ CommandMap htmlTagMap[] =
Mapper *Mappers::cmdMapper = new Mapper(cmdMap,true);
Mapper *Mappers::htmlTagMapper = new Mapper(htmlTagMap,false);
-int Mapper::map(const char *n)
+int Mapper::map(const QCString &n)
{
- QCString name=n;
- if (name.isEmpty()) return 0;
+ if (n.isEmpty()) return 0;
+ QCString name = n;
if (!m_cs) name=name.lower();
auto it = m_map.find(name.str());
return it!=m_map.end() ? it->second : 0;