X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fchset.h;h=468ce2399540d2aee9d8b1f731370ff81dee9132;hb=87cd77d1fc819bc8f14982fc6b20091720c011f5;hp=550139236e11ed4313144d59a21abea6a1c722b8;hpb=236ea81bc5c0ce7101c9460d1ee97b8f3c9be9df;p=lyx.git diff --git a/src/chset.h b/src/chset.h index 550139236e..468ce23995 100644 --- a/src/chset.h +++ b/src/chset.h @@ -15,8 +15,8 @@ #include #include +#include -#include "support/std_string.h" /// a class for mapping char strings such as "\^{A}" to the integer value class CharacterSet { @@ -29,21 +29,21 @@ public: * and parses it. This function is only intended to be * called once. */ - bool loadFile(string const & charset); + bool loadFile(std::string const & charset); /// return the name of the current charset - string const & getName() const; + std::string const & getName() const; /** * Return the encoded charset value of the given string. * * The bool value is false if an encoding could not be found * in this charset, and true otherwise. */ - std::pair const encodeString(string const &) const; + std::pair const encodeString(std::string const &) const; private: /// charset name - string name_; + std::string name_; /// - typedef std::map Cdef; + typedef std::map Cdef; /// mapping from string representation to encoded value Cdef map_; };