]> git.lyx.org Git - lyx.git/blobdiff - src/Thesaurus.cpp
Fix yet another thinko in the math grid paste code
[lyx.git] / src / Thesaurus.cpp
index 7830c6e1ef225f020906820c24cc5d2d674b827a..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();