X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChktex.C;h=bb9258c207d60c570e0e835bbe7b4454f31f827c;hb=9ee46b846e5e84ad40ceda4f4af94aeb86cd90a2;hp=4f2fc6c6ae8bc36f3ed3526a4e5ddeacfaf398a2;hpb=44cd0fc9a1687cc63911c7f98d978594458e7813;p=lyx.git diff --git a/src/Chktex.C b/src/Chktex.C index 4f2fc6c6ae..bb9258c207 100644 --- a/src/Chktex.C +++ b/src/Chktex.C @@ -15,15 +15,15 @@ #include "LaTeX.h" // TeXErrors -#include "support/BoostFormat.h" +#include "support/convert.h" #include "support/filetools.h" #include "support/lstrings.h" -#include "support/lyxlib.h" #include "support/systemcall.h" +#include + #include -using lyx::support::atoi; using lyx::support::ChangeExtension; using lyx::support::OnlyFilename; using lyx::support::split; @@ -81,7 +81,7 @@ int Chktex::scanLogFile(TeXErrors & terr) token = split(token, warno, ':'); token = split(token, warning, ':'); - int const lineno = atoi(line); + int const lineno = convert(line); #if USE_BOOST_FORMAT msg % warno;