summaryrefslogtreecommitdiffstats
path: root/src/template.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/template.cpp')
-rw-r--r--src/template.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/template.cpp b/src/template.cpp
index af15a47..793d769 100644
--- a/src/template.cpp
+++ b/src/template.cpp
@@ -1594,12 +1594,12 @@ TemplateContextImpl::~TemplateContextImpl()
void TemplateContextImpl::set(const char *name,const TemplateVariant &v)
{
- TemplateVariant *pv = m_contextStack.first()->find(name);
+ TemplateVariant *pv = m_contextStack.getFirst()->find(name);
if (pv)
{
- m_contextStack.first()->remove(name);
+ m_contextStack.getFirst()->remove(name);
}
- m_contextStack.first()->insert(name,new TemplateVariant(v));
+ m_contextStack.getFirst()->insert(name,new TemplateVariant(v));
}
TemplateVariant TemplateContextImpl::get(const QCString &name) const
@@ -3325,7 +3325,7 @@ TemplateToken *TemplateParser::takeNextToken()
const TemplateToken *TemplateParser::currentToken() const
{
- return m_tokens.first();
+ return m_tokens.getFirst();
};
void TemplateParser::removeNextToken()