backport r19472

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20199 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2007-09-10 19:24:43 +00:00
parent 25ec5f0279
commit f79e11e5f1

View File

@ -944,7 +944,7 @@ bool Buffer::makeLaTeXFile(FileName const & fname,
lyxerr << "Caught iconv exception: " << e.what() << endl;
failed_export = true;
}
catch (std::exception const & e) {
catch (std::exception const & e) {
lyxerr << "Caught \"normal\" exception: " << e.what() << endl;
failed_export = true;
}
@ -1823,7 +1823,7 @@ void Buffer::getSourceCode(odocstream & os, pit_type par_begin,
runparams.par_end = par_end;
if (par_begin + 1 == par_end)
os << "% "
<< bformat(_("Preview source code for paragraph %1$s"), par_begin)
<< bformat(_("Preview source code for paragraph %1$d"), par_begin)
<< "\n\n";
else
os << "% "