Fix indentation

This commit is contained in:
Enrico Forestieri 2016-10-21 01:58:45 +02:00
parent 8d5899aaf3
commit 7cf12243b8

View File

@ -2561,12 +2561,12 @@ void Paragraph::latex(BufferParams const & bparams,
basefont, outerfont, open_font,
runningChange, style, i, column);
}
} else {
if (i >= start_pos && (end_pos == -1 || i < end_pos)) {
try {
d->latexSpecialChar(os, bparams, rp, running_font, runningChange,
style, i, end_pos, column);
} catch (EncodingException & e) {
} else if (i >= start_pos && (end_pos == -1 || i < end_pos)) {
try {
d->latexSpecialChar(os, bparams, rp,
running_font, runningChange,
style, i, end_pos, column);
} catch (EncodingException & e) {
if (runparams.dryrun) {
os << "<" << _("LyX Warning: ")
<< _("uncodable character") << " '";
@ -2580,7 +2580,6 @@ void Paragraph::latex(BufferParams const & bparams,
}
}
}
}
// Set the encoding to that returned from latexSpecialChar (see
// comment for encoding member in OutputParams.h)