]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
Fix dialog handling of Insert Plain Text
[lyx.git] / src / Paragraph.cpp
index 1a1394d7840738c385fb9510efe6b0b6e5272d62..962a6767d25dc5609861d39bd4061cb6608f898b 100644 (file)
@@ -40,6 +40,7 @@
 #include "paragraph_funcs.h"
 #include "ParagraphParameters.h"
 #include "sgml.h"
+#include "TextClass.h"
 #include "TexRow.h"
 #include "VSpace.h"
 
@@ -1830,7 +1831,7 @@ bool Paragraph::latex(Buffer const & buf,
                                odocstream & os, TexRow & texrow,
                                OutputParams const & runparams) const
 {
-       LYXERR(Debug::LATEX) << "SimpleTeXOnePar...     " << this << endl;
+       LYXERR(Debug::LATEX, "SimpleTeXOnePar...     " << this);
 
        bool return_value = false;
 
@@ -2075,7 +2076,7 @@ bool Paragraph::latex(Buffer const & buf,
                                          runparams.moving_arg);
        }
 
-       LYXERR(Debug::LATEX) << "SimpleTeXOnePar...done " << this << endl;
+       LYXERR(Debug::LATEX, "SimpleTeXOnePar...done " << this);
        return return_value;
 }