X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlex_pimpl.C;h=6351ec523ba8b933e36aead8a4aa5e780264ca38;hb=4e4ebe5d4d675348bbd7f75b9ca6424b6727a253;hp=bcb41376211e00a5e3b20d7844be60e2142cf944;hpb=d1182f17daa1a164d9527ccbe6500840d7ac6bc8;p=lyx.git diff --git a/src/lyxlex_pimpl.C b/src/lyxlex_pimpl.C index bcb4137621..6351ec523b 100644 --- a/src/lyxlex_pimpl.C +++ b/src/lyxlex_pimpl.C @@ -8,6 +8,7 @@ #include "lyxlex_pimpl.h" #include "support/lyxalgo.h" #include "support/filetools.h" +#include "support/lstrings.h" #include "debug.h" using std::sort; @@ -39,7 +40,7 @@ LyXLex::Pimpl::Pimpl(keyword_item * tab, int num) } -string const LyXLex::Pimpl::GetString() const +string const LyXLex::Pimpl::getString() const { return string(buff); } @@ -47,7 +48,7 @@ string const LyXLex::Pimpl::GetString() const void LyXLex::Pimpl::printError(string const & message) const { - string const tmpmsg = subst(message, "$$Token", GetString()); + string const tmpmsg = subst(message, "$$Token", getString()); lyxerr << "LyX: " << tmpmsg << " [around line " << lineno << " of file " << MakeDisplayPath(name) << ']' << endl; } @@ -392,7 +393,7 @@ int LyXLex::Pimpl::lex() } -bool LyXLex::Pimpl::EatLine() +bool LyXLex::Pimpl::eatLine() { int i = 0; unsigned char c = '\0';