]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/preamble.C
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / tex2lyx / preamble.C
index 7387fbc595d06fd5054e5e8c223decbddc9cfec4..acb066814aeda319778ae5ee5000b572f1158ad8 100644 (file)
@@ -38,7 +38,8 @@ using std::vector;
 using std::cerr;
 using std::endl;
 
-using lyx::support::libFileSearch;
+using support::FileName;
+using support::libFileSearch;
 
 // special columntypes
 extern std::map<char, int> special_columns;
@@ -491,7 +492,7 @@ LyXTextClass const parse_preamble(Parser & p, ostream & os, string const & force
                h_textclass = forceclass;
        if (noweb_mode && !lyx::support::prefixIs(h_textclass, "literate-"))
                h_textclass.insert(0, "literate-");
-       string layoutfilename = libFileSearch("layouts", h_textclass, "layout");
+       FileName layoutfilename = libFileSearch("layouts", h_textclass, "layout");
        if (layoutfilename.empty()) {
                cerr << "Error: Could not find layout file for textclass \"" << h_textclass << "\"." << endl;
                exit(1);