X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftex2lyx.cpp;h=632acc6a7ae459626a4cdd3798024057bb8ca22e;hb=309c75046e71cc78f1968cff8ee10aaae1a62af7;hp=69645b23fc4fb0112c051e5ac8bb11d42389d6e8;hpb=a6f32927ea9d05a997d41057b368b6ae60c51165;p=lyx.git diff --git a/src/tex2lyx/tex2lyx.cpp b/src/tex2lyx/tex2lyx.cpp index 69645b23fc..632acc6a7a 100644 --- a/src/tex2lyx/tex2lyx.cpp +++ b/src/tex2lyx/tex2lyx.cpp @@ -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);