]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_pimpl.C
the spellcheck cleanup
[lyx.git] / src / paragraph_pimpl.C
index ab6c0080d7c17c645a4a50cd7bd9a448fee179e0..4942a2452af3ae9de05b12b390a301d297be4e15 100644 (file)
@@ -472,7 +472,7 @@ void Paragraph::Pimpl::simpleTeXSpecialChars(Buffer const & buf,
                                os << c;
                } else {
                        InsetOld const * inset = owner_->getInset(i);
-                       inset->ascii(buf, os, 0);
+                       inset->ascii(buf, os, runparams);
                }
                return;
        }
@@ -736,8 +736,6 @@ void Paragraph::Pimpl::validate(LaTeXFeatures & features,
        BufferParams const & bparams = features.bufferParams();
 
        // check the params.
-       if (params.lineTop() || params.lineBottom())
-               features.require("lyxline");
        if (!params.spacing().isDefault())
                features.require("setspace");