struct Thesaurus::Private
{
struct Thesaurus::Private
{
+ ~Private(Thesaurus & parent): parent_(parent)
{
for (Thesauri::iterator it = thes_.begin();
it != thes_.end(); ++it) {
{
for (Thesauri::iterator it = thes_.begin();
it != thes_.end(); ++it) {
+ ///
+ Thesaurus & parent_;
+
/// add a thesaurus to the list
bool addThesaurus(docstring const & lang);
/// add a thesaurus to the list
bool addThesaurus(docstring const & lang);
if (thes_path.empty())
return false;
if (thes_path.empty())
return false;
- if (thesaurusAvailable(lang))
+ if (parent_.thesaurusAvailable(lang))
return true;
FileNameList const idx_files = FileName(thes_path).dirList("idx");
return true;
FileNameList const idx_files = FileName(thes_path).dirList("idx");