X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FThesaurus.cpp;h=e2c28183ee9499601c418153ff2d253fb966bd1f;hb=908afb8e971d210202b883480968305e30ae0699;hp=4f4ad64d14aba691df74e59eb45445e20e76f261;hpb=77ab3017d0bc759ff8f69cec5cb5b7d9eae122c6;p=lyx.git diff --git a/src/Thesaurus.cpp b/src/Thesaurus.cpp index 4f4ad64d14..e2c28183ee 100644 --- a/src/Thesaurus.cpp +++ b/src/Thesaurus.cpp @@ -27,12 +27,8 @@ #include "support/lstrings.h" #include "support/os.h" -#ifdef USE_EXTERNAL_MYTHES -#include MYTHES_H_LOCATION -#else #include -#include "support/mythes/mythes.hxx" -#endif +#include MYTHES_H_LOCATION #include "frontends/alert.h" @@ -50,7 +46,7 @@ namespace { typedef std::map Thesauri; -} // namespace anon +} // namespace struct Thesaurus::Private { @@ -240,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());