summaryrefslogtreecommitdiffstats
path: root/languages/cpp/simpletypefunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/simpletypefunction.cpp')
-rw-r--r--languages/cpp/simpletypefunction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/simpletypefunction.cpp b/languages/cpp/simpletypefunction.cpp
index d0c2c2af..4edaddba 100644
--- a/languages/cpp/simpletypefunction.cpp
+++ b/languages/cpp/simpletypefunction.cpp
@@ -455,7 +455,7 @@ SimpleTypeImpl::MemberInfo SimpleTypeCodeModel::findMember( TypeDesc name , Memb
if ( ret.memberType == MemberInfo::Function || ret.memberType == MemberInfo::Variable || ret.memberType == MemberInfo::Template || ret.memberType == MemberInfo::Typedef || ret.memberType == MemberInfo::NestedType ) {
//For redirected types it is necessary to add the include-files of the context they were searched in.
//That is not quite correct, but it makes sure that at least the same namespace-aliases will be activated while the search for the type,
- //Which is necessary because the alias is tqparented by exactly this class.
+ //Which is necessary because the alias is parented by exactly this class.
ret.type->addIncludeFiles( name.includeFiles() );
}
@@ -553,8 +553,8 @@ TQStringList SimpleTypeCodeModel::getBaseStrings() {
if ( !m_item || ( klass = dynamic_cast<ClassModel*>( & ( *m_item ) ) ) == 0 ) return ret;
- TQStringList tqparents = klass->baseClassList();
- for ( TQStringList::Iterator it = tqparents.begin(); it != tqparents.end(); ++it ) {
+ TQStringList parents = klass->baseClassList();
+ for ( TQStringList::Iterator it = parents.begin(); it != parents.end(); ++it ) {
ret << *it;
}