summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index f497c01..41fca96 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -1836,6 +1836,10 @@ static void findUsingDirectives(EntryNav *rootNav)
//printf("Found using directive %s at line %d of %s\n",
// root->name.data(),root->startLine,root->fileName.data());
QCString name=substitute(root->name,".","::");
+ if (name.right(2)=="::")
+ {
+ name=name.left(name.length()-2);
+ }
if (!name.isEmpty())
{
NamespaceDef *usingNd = 0;