X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FEncoding.cpp;h=c7ea237179e79c966c7a700cea998fa0dda8da05;hb=33f9cfb7961501b38c573eede468b011687f46de;hp=64bb3c0b64a4a9c4a5361596d5b51cd5d5afb09e;hpb=7d38a4d126e8e2dab08c6a47947b913921c3f083;p=lyx.git diff --git a/src/Encoding.cpp b/src/Encoding.cpp index 64bb3c0b64..c7ea237179 100644 --- a/src/Encoding.cpp +++ b/src/Encoding.cpp @@ -17,6 +17,7 @@ #include "Lexer.h" #include "support/debug.h" +#include "support/docstring.h" #include "support/gettext.h" #include "support/lstrings.h" #include "support/mutex.h" @@ -643,7 +644,7 @@ Encodings::fromLyXName(string const & name, bool allowUnsafe) const Encoding const * -Encodings::fromLaTeXName(string const & n, int const & p, bool allowUnsafe) const +Encodings::fromLaTeXName(string const & n, int p, bool allowUnsafe) const { string name = n; // FIXME: if we have to test for too many of these synonyms, @@ -666,7 +667,7 @@ Encodings::fromLaTeXName(string const & n, int const & p, bool allowUnsafe) cons Encoding const * -Encodings::fromIconvName(string const & n, int const & p, bool allowUnsafe) const +Encodings::fromIconvName(string const & n, int p, bool allowUnsafe) const { EncodingList::const_iterator const end = encodinglist.end(); for (EncodingList::const_iterator it = encodinglist.begin(); it != end; ++it)