From 272e7097f2bd379a5e7326111310a73eab610eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Tue, 20 Apr 2010 07:30:58 +0000 Subject: [PATCH] * Thesaurus.cpp: fix thesaurus (bug #6656) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34226 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Thesaurus.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Thesaurus.cpp b/src/Thesaurus.cpp index a0f15150f4..bca3c06919 100644 --- a/src/Thesaurus.cpp +++ b/src/Thesaurus.cpp @@ -116,6 +116,9 @@ pair Thesaurus::Private::getThesaurus(docstring const & lang) bool Thesaurus::Private::addThesaurus(docstring const & lang) { + if (thesaurusAvailable(lang)) + return true; + ThesFiles files = getThesaurus(lang); string const idx = files.first; string const data = files.second;