]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTemplate.C
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / ExternalTemplate.C
index 065c6d0f8a9815a59112968c7f00307186e65725..947e488a9dae4d9f00befd7e850372e5380f8710 100644 (file)
@@ -233,7 +233,7 @@ TemplateManager::getPreambleDefByName(string const & name) const
 }
 
 
-void TemplateManager::readTemplates(string const & path)
+void TemplateManager::readTemplates(support::FileName const & path)
 {
        support::Path p(path);
 
@@ -253,7 +253,7 @@ void TemplateManager::readTemplates(string const & path)
 
        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");