]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/tex2lyx.cpp
Make --without-include-boost compile (autotools)
[lyx.git] / src / tex2lyx / tex2lyx.cpp
index 69645b23fc4fb0112c051e5ac8bb11d42389d6e8..632acc6a7ae459626a4cdd3798024057bb8ca22e 100644 (file)
@@ -68,7 +68,7 @@ using support::isFileReadable;
 
 namespace fs = boost::filesystem;
 
-Layout_ptr captionlayout;
+LayoutPtr captionlayout;
 
 // Hacks to allow the thing to link in the lyxlayout stuff
 LyXErr lyxerr(std::cerr.rdbuf());
@@ -428,7 +428,7 @@ void tex2lyx(std::istream &is, std::ostream &os)
 
        stringstream ss;
        TextClass textclass = parse_preamble(p, ss, documentclass);
-       captionlayout = Layout_ptr(Layout::forCaption());
+       captionlayout = LayoutPtr(Layout::forCaption());
 
        active_environments.push_back("document");
        Context context(true, textclass);