]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.cpp
Cleanup the TEXT_TO_INSET_OFFSET mess. This correction is done now once in InsetText...
[lyx.git] / src / output_latex.cpp
index e3abb52fa59ccb8e4c6c54d2220b7518fba51328..8933d78f91747aa50c7e8378ff50593461f2c649 100644 (file)
@@ -96,7 +96,7 @@ TeXEnvironment(Buffer const & buf,
 
        BufferParams const & bparams = buf.params();
 
-       Layout_ptr const & style = pit->layout();
+       LayoutPtr const & style = pit->layout();
 
        Language const * const par_language = pit->getParLanguage(bparams);
        Language const * const doc_language = bparams.language;
@@ -207,8 +207,9 @@ TeXEnvironment(Buffer const & buf,
                texrow.newline();
        }
 
-       if (par != paragraphs.end())
+       if (par != paragraphs.end()) {
                LYXERR(Debug::LATEX) << "TeXEnvironment...done " << &*par << endl;
+       }
        return par;
 }
 
@@ -247,7 +248,7 @@ TeXOnePar(Buffer const & buf,
        LYXERR(Debug::LATEX) << "TeXOnePar...     " << &*pit << " '"
                << everypar << "'" << endl;
        BufferParams const & bparams = buf.params();
-       Layout_ptr style;
+       LayoutPtr style;
 
        // In an inset with unlimited length (all in one row),
        // force layout to default
@@ -585,8 +586,9 @@ TeXOnePar(Buffer const & buf,
                texrow.newline();
        }
 
-       if (boost::next(pit) != paragraphs.end())
+       if (boost::next(pit) != paragraphs.end()) {
                LYXERR(Debug::LATEX) << "TeXOnePar...done " << &*boost::next(pit) << endl;
+       }
 
        return ++pit;
 }
@@ -628,7 +630,7 @@ void latexParagraphs(Buffer const & buf,
                // any environment other than the default layout of the
                // text class to be valid!
                if (!par->forceDefaultParagraphs()) {
-                       Layout_ptr const & layout = par->layout();
+                       LayoutPtr const & layout = par->layout();
 
                        if (layout->intitle) {
                                if (already_title) {