X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FWordLangTuple.h;h=b1a31bd90d27509345d2168604cd7239f49f1857;hb=6b651f2ad9f698c01993dcc6e340682c279f1c55;hp=86775431d38bee38dc6fadb53444f17718f0d2bb;hpb=a5ead24854dfbd2200ef748e0404cf8b6ab68d29;p=lyx.git diff --git a/src/WordLangTuple.h b/src/WordLangTuple.h index 86775431d3..b1a31bd90d 100644 --- a/src/WordLangTuple.h +++ b/src/WordLangTuple.h @@ -12,7 +12,10 @@ #ifndef WORD_LANG_TUPLE_H #define WORD_LANG_TUPLE_H -#include +#include "support/docstring.h" + + +namespace lyx { /** @@ -23,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_; } @@ -39,9 +42,12 @@ public: private: /// the word - std::string word_; + docstring word_; /// language code of word std::string code_; }; + +} // namespace lyx + #endif // WORD_LANG_TUPLE_H