diff options
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 7ad162d..ef9a490 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -955,8 +955,19 @@ static void generateXMLForClass(ClassDef *cd,QTextStream &ti) case Virtual: t << "virtual"; break; case Pure: t <<"pure-virtual"; break; } - t << "\">" << convertToXML(bcd->classDef->displayName()) - << "</basecompoundref>" << endl; + t << "\">"; + if (!bcd->templSpecifiers.isEmpty()) + { + convertToXML( + insertTemplateSpecifierInScope( + bcd->classDef->displayName(),bcd->templSpecifiers) + ); + } + else + { + convertToXML(bcd->classDef->displayName()); + } + t << "</basecompoundref>" << endl; } } if (cd->subClasses()->count()>0) |