Skip to content

Commit

Permalink
Bug 606104 - Deprecated list: Wrong prefix '<globalScope>::' for glob…
Browse files Browse the repository at this point in the history
…al 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]
  • Loading branch information
albert-github committed Dec 6, 2015
1 parent 12b28cf commit a5288ac
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/reflist.cpp
Expand Up @@ -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 ";
Expand Down

0 comments on commit a5288ac

Please sign in to comment.