]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.C
and this
[lyx.git] / src / paragraph.C
index b139c85fee4c836f105fc223cbc49c5d7a86fb08..83cc81d24a42452ba509fbb6e4ede3270f3e71b4 100644 (file)
@@ -138,12 +138,12 @@ void Paragraph::write(Buffer const & buf, ostream & os,
        if (dth != params().depth()) {
                if (params().depth() > dth) {
                        while (params().depth() > dth) {
-                               os << "\n\\begin_deeper ";
+                               os << "\n\\begin_deeper";
                                ++dth;
                        }
                } else {
                        while (params().depth() < dth) {
-                               os << "\n\\end_deeper ";
+                               os << "\n\\end_deeper";
                                --dth;
                        }
                }
@@ -192,13 +192,13 @@ void Paragraph::write(Buffer const & buf, ostream & os,
                                } else {
                                        os << "\n\\begin_inset ";
                                        inset->write(buf, os);
-                                       os << "\n\\end_inset \n\n";
+                                       os << "\n\\end_inset\n\n";
                                        column = 0;
                                }
                }
                break;
                case '\\':
-                       os << "\n\\backslash \n";
+                       os << "\n\\backslash\n";
                        column = 0;
                        break;
                case '.':
@@ -1031,7 +1031,7 @@ bool Paragraph::simpleTeXOnePar(Buffer const & buf,
                OutputParams rp = runparams;
                rp.moving_arg = moving_arg;
                rp.free_spacing = style->free_spacing;
-               rp.lang = font.language()->babel();
+               rp.local_language = font.language()->babel();
                rp.intitle = style->intitle;
                pimpl_->simpleTeXSpecialChars(buf, bparams,
                                              os, texrow, rp,
@@ -1481,14 +1481,14 @@ bool IsInsetChar(char c)
 
 bool Paragraph::isHfill(pos_type pos) const
 {
-       return isInset(pos) 
+       return isInset(pos)
                && getInset(pos)->lyxCode() == InsetBase::HFILL_CODE;
 }
 
 
 bool Paragraph::isNewline(pos_type pos) const
 {
-       return isInset(pos) 
+       return isInset(pos)
                && getInset(pos)->lyxCode() == InsetBase::NEWLINE_CODE;
 }