From 678ace1244f90fc24c0e9486b16d9485a92e89c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Thu, 11 Feb 2010 06:58:52 +0000 Subject: [PATCH] =?UTF-8?q?*=20GuiErrorList.cpp:=20following=20Andr=C3=A9'?= =?UTF-8?q?s=20advice.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33421 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiErrorList.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontends/qt4/GuiErrorList.cpp b/src/frontends/qt4/GuiErrorList.cpp index 62c7b2cd82..04d5117e60 100644 --- a/src/frontends/qt4/GuiErrorList.cpp +++ b/src/frontends/qt4/GuiErrorList.cpp @@ -33,15 +33,15 @@ using namespace lyx::support; namespace { -string const guiErrorType(string const s) +string const guiErrorType(string const & s) { if (s == "docbook") return N_("DocBook"); - else if (s == "literate") + if (s == "literate") return N_("Literate"); - else if (s == "platex") + if (s == "platex") return N_("pLaTeX"); - else if (s == "latex") + if (s == "latex") return N_("LaTeX"); return s; }