]> git.lyx.org Git - lyx.git/blobdiff - src/WordList.h
Amend 6c3447c8: FindAdv: sometimes a space is added on some math symbols
[lyx.git] / src / WordList.h
index 5b0488bb04030dc50c469cff0a17091e04ed7b1e..9c2eaf1b8e7539ef250b20c887b9e2370ed54a89 100644 (file)
@@ -13,6 +13,7 @@
 #define WORDLIST_H
 
 #include "support/docstring.h"
+#include "support/mute_warning.h"
 
 #include <memory>
 
@@ -30,15 +31,15 @@ public:
        void insert(docstring const & w);
        ///
        void remove(docstring const & w);
-       ///
-       static void cleanupWordLists();
 
 private:
        struct Impl;
        std::unique_ptr<Impl> d;
 };
 
-WordList * theWordList(std::string const & lang);
+LYX_BEGIN_MUTE_GCC_WARNING(dangling-reference)
+WordList & theWordList(std::string const & lang);
+LYX_END_MUTE_GCC_WARNING
 
 } // namespace lyx