]> git.lyx.org Git - features.git/blobdiff - src/tex2lyx/tex2lyx.cpp
more Lexer;
[features.git] / src / tex2lyx / tex2lyx.cpp
index 62b783c40844647ecdacf3d7a26ad9635dc9683f..8ea27a832215538e58006af64f207c0770bdbd1f 100644 (file)
@@ -40,10 +40,6 @@ using namespace lyx::support::os;
 
 namespace lyx {
 
-// Hacks to allow the thing to link in the lyxlayout stuff
-LayoutPtr captionlayout;
-
-
 string const trim(string const & a, char const * p)
 {
        // BOOST_ASSERT(p);
@@ -400,7 +396,6 @@ void tex2lyx(istream & is, ostream & os)
        stringstream ss;
        TeX2LyXDocClass textclass;
        parse_preamble(p, ss, documentclass, textclass);
-       captionlayout = LayoutPtr(Layout::forCaption());
 
        active_environments.push_back("document");
        Context context(true, textclass);