LyXLex lex(templatetags, TM_TEMPLATE_END);
- string filename = support::libFileSearch("", "external_templates");
+ support::FileName const filename = support::libFileSearch("", "external_templates");
if (filename.empty() || !lex.setFile(filename)) {
lex.printError("external::TemplateManager::readTemplates: "
"No template file");