]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.C
and this
[lyx.git] / src / paragraph.C
index 05a525c53a9e22dbfd891308c190d3e6ab31fae7..83cc81d24a42452ba509fbb6e4ede3270f3e71b4 100644 (file)
@@ -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;
 }