]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
Remove enumitem example file from attic.
[lyx.git] / src / Paragraph.cpp
index 5cea164d63ded34e5511c87809d5746319cb65e9..0c5feb0cf23a93082cfc2cc066bb3c37fd05ec1d 100644 (file)
@@ -2567,8 +2567,7 @@ void Paragraph::latex(BufferParams const & bparams,
        if (allowcust && d->endTeXParParams(bparams, os, runparams)
            && runparams.encoding != prev_encoding) {
                runparams.encoding = prev_encoding;
-               if (!runparams.isFullUnicode())
-                       os << setEncoding(prev_encoding->iconvName());
+               os << setEncoding(prev_encoding->iconvName());
        }
 
        LYXERR(Debug::LATEX, "Paragraph::latex... done " << this);
@@ -3270,8 +3269,6 @@ void Paragraph::forOutliner(docstring & os, size_t const maxlen,
                char_type const c = d->text_[i];
                if (isPrintable(c))
                        os += c;
-               else if (c == '\t' || c == '\n')
-                       os += ' ';
                else if (c == META_INSET)
                        getInset(i)->forOutliner(os, tmplen, false);
        }