]> git.lyx.org Git - features.git/blobdiff - src/output_latex.cpp
Remove warnings reported with gcc 4.3:
[features.git] / src / output_latex.cpp
index 6f9a040f254c3823e7f7381ad84c116cecce0aef..8933d78f91747aa50c7e8378ff50593461f2c649 100644 (file)
@@ -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;
 }
 
@@ -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;
 }