]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
* output_plaintext.C: cosmetics in comment: line length cannot be < 0
[lyx.git] / src / buffer.C
index 155b8b6047309c4e9cc2afa890a1dad524614e8d..b6f6f67c1ed82ed01762c6a780a2fb68ae2f1305 100644 (file)
@@ -1472,18 +1472,6 @@ docstring const Buffer::B_(string const & l10n) const
 }
 
 
-docstring const Buffer::translateLabel(docstring const & label) const
-{
-       if (support::isAscii(label))
-               // Probably standard layout, try to translate
-               return B_(to_ascii(label));
-       else
-               // This must be a user defined layout. We cannot translate
-               // this, since gettext accepts only ascii keys.
-               return label;
-}
-
-
 bool Buffer::isClean() const
 {
        return pimpl_->lyx_clean;
@@ -1684,7 +1672,7 @@ void Buffer::getSourceCode(odocstream & os, pit_type par_begin,
        OutputParams runparams;
        runparams.nice = true;
        runparams.flavor = OutputParams::LATEX;
-       runparams.linelen = lyxrc.ascii_linelen;
+       runparams.linelen = lyxrc.plaintext_linelen;
        // No side effect of file copying and image conversion
        runparams.dryrun = true;