summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-08-05 12:03:04 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-08-05 12:03:04 (GMT)
commit0c6e5ac9eab4ff31bb5650ac2faf9f6c5fc46e68 (patch)
treeae6f91b471c21991428c9b75a29ff8df55d1889d /src/definition.cpp
parent071e39254b00ad7ffed5de8cdeb44072278d4d57 (diff)
downloadDoxygen-0c6e5ac9eab4ff31bb5650ac2faf9f6c5fc46e68.zip
Doxygen-0c6e5ac9eab4ff31bb5650ac2faf9f6c5fc46e68.tar.gz
Doxygen-0c6e5ac9eab4ff31bb5650ac2faf9f6c5fc46e68.tar.bz2
Release-1.2.9.1
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index e4ea9c3..fc764f7 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -34,12 +34,7 @@ Definition::Definition(const char *df,int dl,
m_defFileName = df;
m_defLine = dl;
m_name=name;
- m_localName=name;
- int i=m_localName.findRev("::");
- if (i!=-1)
- {
- m_localName=m_localName.right(m_localName.length()-i-2);
- }
+ m_localName=stripScope(name);
m_brief=b;
m_doc=d;
m_sectionDict=0,
@@ -451,7 +446,7 @@ void Definition::addInnerCompound(Definition *)
QCString Definition::qualifiedName() const
{
- //printf("start Definition::qualifiedName()\n");
+ //printf("start Definition::qualifiedName() localName=%s\n",m_localName.data());
if (m_outerScope==0)
{
if (m_localName=="<globalScope>") return "";