X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FWordLangTuple.h;h=b1a31bd90d27509345d2168604cd7239f49f1857;hb=6b651f2ad9f698c01993dcc6e340682c279f1c55;hp=9e2232bd3d1b199c1c0e63b22a7f23ba8300dd77;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/WordLangTuple.h b/src/WordLangTuple.h index 9e2232bd3d..b1a31bd90d 100644 --- a/src/WordLangTuple.h +++ b/src/WordLangTuple.h @@ -12,7 +12,7 @@ #ifndef WORD_LANG_TUPLE_H #define WORD_LANG_TUPLE_H -#include +#include "support/docstring.h" namespace lyx { @@ -26,12 +26,12 @@ class WordLangTuple { public: WordLangTuple() {} - WordLangTuple(std::string const & w, std::string const & c) + WordLangTuple(docstring const & w, std::string const & c) : word_(w), code_(c) {} /// return the word - std::string const & word() const { + docstring const & word() const { return word_; } @@ -42,7 +42,7 @@ public: private: /// the word - std::string word_; + docstring word_; /// language code of word std::string code_; };