]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Context.cpp
tex2lyx/text.cpp: take care of the brace pair after comment environments that are...
[lyx.git] / src / tex2lyx / Context.cpp
index e07ff92caec374d0acaebdb98d937d174d36a54d..1e05984bcfb7a4371ce1b8ee8517e0a35e23dea7 100644 (file)
@@ -24,7 +24,7 @@ namespace lyx {
 
 namespace {
 
-void begin_layout(ostream & os, LayoutPtr const & layout, TeXFont const & font,
+void begin_layout(ostream & os, Layout const * const & layout, TeXFont const & font,
                  TeXFont const & normalfont)
 {
        os << "\n\\begin_layout " << to_utf8(layout->name()) << "\n";
@@ -84,7 +84,7 @@ bool Context::empty = true;
 
 Context::Context(bool need_layout_,
                 TeX2LyXDocClass const & textclass_,
-                LayoutPtr layout_, LayoutPtr parent_layout_,
+                Layout const * layout_, Layout const * parent_layout_,
                 TeXFont font_)
        : need_layout(need_layout_),
          need_end_layout(false), need_end_deeper(false),