X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChktex.C;h=bb9258c207d60c570e0e835bbe7b4454f31f827c;hb=3c851f1f7951f3a24b57826f3e580e4318b5e6c4;hp=4ad44c2fca4447f674d3bed647f6f585718989f4;hpb=653ef9a0127a27b8ff8f5540df2f8877badf3f44;p=lyx.git diff --git a/src/Chktex.C b/src/Chktex.C index 4ad44c2fca..bb9258c207 100644 --- a/src/Chktex.C +++ b/src/Chktex.C @@ -15,16 +15,15 @@ #include "LaTeX.h" // TeXErrors +#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; @@ -82,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;