diff options
-rw-r--r-- | src/context.cpp | 8 | ||||
-rw-r--r-- | src/template.cpp | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/context.cpp b/src/context.cpp index 541cb74..9bbed6a 100644 --- a/src/context.cpp +++ b/src/context.cpp @@ -4856,7 +4856,7 @@ class NamespaceTreeContext::Private : public PropertyMapper public: TemplateVariant tree() const { - return TemplateVariant(&m_namespaceTree); + return m_namespaceTree.get(); } TemplateVariant fileName() const { @@ -5110,7 +5110,7 @@ class FileTreeContext::Private : public PropertyMapper } TemplateVariant tree() const { - return TemplateVariant(&m_dirFileTree); + return m_dirFileTree.get(); } TemplateVariant fileName() const { @@ -5570,7 +5570,7 @@ class ModuleTreeContext::Private : public PropertyMapper public: TemplateVariant tree() const { - return TemplateVariant(&m_moduleList); + return m_moduleList.get(); } TemplateVariant fileName() const { @@ -5706,7 +5706,7 @@ class ExampleListContext::Private : public PropertyMapper public: TemplateVariant items() const { - return TemplateVariant(&m_pageList); + return m_pageList.get(); } TemplateVariant fileName() const { diff --git a/src/template.cpp b/src/template.cpp index b76d8f3..4b755e3 100644 --- a/src/template.cpp +++ b/src/template.cpp @@ -3214,7 +3214,6 @@ class TemplateNodeCreate : public TemplateNodeCreator<TemplateNodeCreate> { QCString templateFile = m_templateExpr->resolve(c).toString(); QCString outputFile = m_fileExpr->resolve(c).toString(); - printf("TemplateNodeCreate file='%s' template='%s'\n",outputFile.data(),templateFile.data()); if (templateFile.isEmpty()) { ci->warn(m_templateName,m_line,"empty template name parameter for create command\n"); |