summaryrefslogtreecommitdiffstats
path: root/src/reflist.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-12-06 17:04:50 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-12-06 17:04:50 (GMT)
commita5288aca31ccecb78b561b4f382fe6c559bea9f9 (patch)
treef878656aee605defb5bd7a171c9eaf0f9a96fdde /src/reflist.cpp
parent12b28cf18d559d8b1010c8c712ea5557afdc1481 (diff)
downloadDoxygen-a5288aca31ccecb78b561b4f382fe6c559bea9f9.zip
Doxygen-a5288aca31ccecb78b561b4f382fe6c559bea9f9.tar.gz
Doxygen-a5288aca31ccecb78b561b4f382fe6c559bea9f9.tar.bz2
Bug 606104 - Deprecated list: Wrong prefix '<globalScope>::' for global functions
The globalScope as shown in the output has no meaning and is confusing (and is also lacking the starting <). This problem is a regression from: Bug 740218 - Full scope needed when making link inside cross-referenced section [with test case]
Diffstat (limited to 'src/reflist.cpp')
-rw-r--r--src/reflist.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/reflist.cpp b/src/reflist.cpp
index 8380db7..5a80b19 100644
--- a/src/reflist.cpp
+++ b/src/reflist.cpp
@@ -153,9 +153,12 @@ void RefList::generatePage()
doc += "\n";
if (item->scope)
{
- doc += "\\_setscope ";
- doc += item->scope->name();
- doc += " ";
+ if (item->scope->name() != "<globalScope>")
+ {
+ doc += "\\_setscope ";
+ doc += item->scope->name();
+ doc += " ";
+ }
}
doc += item->prefix;
doc += " \\_internalref ";