summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-01-15 22:13:59 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-01-15 22:13:59 (GMT)
commit0165662ac50544cad138573c42097999327b84bc (patch)
tree02ffe0b25b4258265375952770daddbce00b6b7b /src/definition.cpp
parentb965d71c36017c5ad67e78a6cb8e300ddbec7bf6 (diff)
downloadDoxygen-0165662ac50544cad138573c42097999327b84bc.zip
Doxygen-0165662ac50544cad138573c42097999327b84bc.tar.gz
Doxygen-0165662ac50544cad138573c42097999327b84bc.tar.bz2
Release-1.4.6-20060115
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index ed5a6c3..4842e28 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -702,10 +702,19 @@ QCString Definition::qualifiedName()
{
m_qualifiedName = m_outerScope->qualifiedName()+"::"+m_localName;
}
- //printf("end Definition::qualifiedName()=%s\n",qualifiedName.data());
+ //printf("end Definition::qualifiedName()=%s\n",m_qualifiedName.data());
return m_qualifiedName;
};
+void Definition::setOuterScope(Definition *d)
+{
+ if (m_outerScope!=d)
+ {
+ m_qualifiedName.resize(0); // flush cached scope name
+ m_outerScope = d;
+ }
+}
+
QCString Definition::localName() const
{
return m_localName;