summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-07-31 11:06:38 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-07-31 11:06:38 (GMT)
commit61a987f886200cc62a786c3bd558f428062cf529 (patch)
treee26e68937cee21e01ebbc60a39d60bc0b9559506 /src/util.cpp
parent28c10b0c9f4d4ebf1d9ac105241033eaf6fde228 (diff)
downloadDoxygen-61a987f886200cc62a786c3bd558f428062cf529.zip
Doxygen-61a987f886200cc62a786c3bd558f428062cf529.tar.gz
Doxygen-61a987f886200cc62a786c3bd558f428062cf529.tar.bz2
issue 7068: "QGDict::hashAsciiKey: Invalid null key" error messages (part 2)
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 695a52c..163bb23 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -4564,6 +4564,10 @@ static bool getScopeDefs(const char *docScope,const char *scope,
scopeName=scopeName.right(scopeName.length()-2);
explicitGlobalScope=TRUE;
}
+ if (scopeName.isEmpty())
+ {
+ return FALSE;
+ }
QCString docScopeName=docScope;
int scopeOffset=explicitGlobalScope ? 0 : docScopeName.length();