summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
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!="::")