]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetline.C
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetline.C
index 9aa4d63e31e5c58440d2b51d985bd73e818d7643..de2b9996a17f342f1da8871eaadaa6df49667ff2 100644 (file)
@@ -61,7 +61,7 @@ void InsetLine::draw(PainterInfo & pi, int x, int y) const
 
 
 int InsetLine::latex(Buffer const &, odocstream & os,
-                       OutputParams const & runparams) const
+                     OutputParams const & runparams) const
 {
        os << "\\lyxline{\\"
           << from_ascii(runparams.local_font->latexSize()) << '}';
@@ -70,10 +70,10 @@ int InsetLine::latex(Buffer const &, odocstream & os,
 
 
 int InsetLine::plaintext(Buffer const &, odocstream & os,
-                    OutputParams const &) const
+                         OutputParams const &) const
 {
-       os << "-------------------------------------------";
-       return 0;
+       os << "\n-------------------------------------------\n";
+       return PLAINTEXT_NEWLINE;
 }