]> git.lyx.org Git - lyx.git/blobdiff - src/Thesaurus.cpp
Correct Right Arrow key processing in Modules list
[lyx.git] / src / Thesaurus.cpp
index cf8567eb53f5c9a5403296c3e1615ccd3ce7530d..86cbd65906476052fdbadc1b6c7913e7b85bb4da 100644 (file)
@@ -46,7 +46,7 @@ namespace {
 
 typedef std::map<docstring, MyThes *> Thesauri;
 
-} // namespace anon
+} // namespace
 
 struct Thesaurus::Private
 {
@@ -216,7 +216,7 @@ bool Thesaurus::thesaurusInstalled(docstring const & lang) const
 Thesaurus::Meanings Thesaurus::lookup(WordLangTuple const & wl)
 {
        Meanings meanings;
-       MyThes * mythes = 0;
+       MyThes * mythes = nullptr;
 
        docstring const lang_code = from_ascii(wl.lang()->code());
        docstring const t = wl.word();
@@ -236,7 +236,7 @@ Thesaurus::Meanings Thesaurus::lookup(WordLangTuple const & wl)
                return meanings;
 
        string const encoding = mythes->get_th_encoding();
-       
+
        mentry * pmean;
        string const text = to_iconv_encoding(support::lowercase(t), encoding);
        int len = strlen(text.c_str());