]> git.lyx.org Git - lyx.git/blobdiff - src/PersonalWordList.h
Avoid full metrics computation with Update:FitCursor
[lyx.git] / src / PersonalWordList.h
index d37b7d3137bf2cc230be2df7680a6687bec06bbd..0194bbcbe69e0eb206903c06b0b3d61b932d1731 100644 (file)
@@ -24,7 +24,7 @@ namespace lyx {
 class PersonalWordList {
 public:
        /// the word list has an associated language
-       PersonalWordList(std::string lang) : lang_(lang), dirty_(false) {}
+       PersonalWordList(std::string const & lang) : lang_(lang), dirty_(false) {}
        /// the location of the file to hold to word list
        lyx::support::FileName dictfile() const;
        /// (re)load the word list from file