From f79e11e5f14dd8aaacd368ba9938a25ce7d9643f Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Mon, 10 Sep 2007 19:24:43 +0000 Subject: [PATCH] backport r19472 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20199 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Buffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 3ce85df8a2..58957d72f3 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -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 << "% "