X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FASpell.cpp;h=c99ff0498c6eef8117285c5eea6a5b318b390c0f;hb=04a171cac68cded95b1c4018d26ca50cb191ffa4;hp=f55e358cb8320dafa1744369a51415d5447866a5;hpb=8f081b1e74bece6aad1368a00344f6040d249e54;p=lyx.git diff --git a/src/ASpell.cpp b/src/ASpell.cpp index f55e358cb8..c99ff0498c 100644 --- a/src/ASpell.cpp +++ b/src/ASpell.cpp @@ -25,10 +25,8 @@ using namespace std; namespace lyx { -ASpell::ASpell(BufferParams const &, string const & lang) - : els(0), spell_error_object(0) +ASpell::ASpell(): els(0), spell_error_object(0) { - addSpeller(lang); } @@ -66,7 +64,7 @@ void ASpell::addSpeller(string const & lang) // platforms (cygwin, OS X). Therefore we use utf-8, that does // always work. aspell_config_replace(config, "encoding", "utf-8"); - if (lyxrc.spellcheck_accept_compound) + if (lyxrc.spellchecker_accept_compound) // Consider run-together words as legal compounds aspell_config_replace(config, "run-together", "true"); else