]> git.lyx.org Git - lyx.git/blobdiff - src/WordLangTuple.h
Fixed some lines that were too long. It compiled afterwards.
[lyx.git] / src / WordLangTuple.h
index 9e2232bd3d1b199c1c0e63b22a7f23ba8300dd77..b1a31bd90d27509345d2168604cd7239f49f1857 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef WORD_LANG_TUPLE_H
 #define WORD_LANG_TUPLE_H
 
-#include <string>
+#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_;
 };