summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-06-10 09:28:22 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-06-10 09:28:22 (GMT)
commit0ce3aea886f4e95da56d164b3944fd54d3d68f89 (patch)
tree6709ddc7b1764dc3b20bbac7eb36c05edcc91e03 /src/namespacedef.cpp
parent1983c30b71bf92b3fa6bfedbb98451c3b7f74498 (diff)
downloadDoxygen-0ce3aea886f4e95da56d164b3944fd54d3d68f89.zip
Doxygen-0ce3aea886f4e95da56d164b3944fd54d3d68f89.tar.gz
Doxygen-0ce3aea886f4e95da56d164b3944fd54d3d68f89.tar.bz2
Release-1.8.1.1
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r--src/namespacedef.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index 22ca7a3..ccc80c3 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -739,9 +739,9 @@ void NamespaceDef::addListReferences()
}
}
-QCString NamespaceDef::displayName() const
+QCString NamespaceDef::displayName(bool includeScope) const
{
- QCString result=name();
+ QCString result=includeScope ? name() : localName();
SrcLangExt lang = getLanguage();
QCString sep = getLanguageSpecificSeparator(lang);
if (sep!="::")