]> git.lyx.org Git - features.git/blobdiff - src/spellchecker.C
Fixes to insettabular/text + GNOME patch + KDE patch
[features.git] / src / spellchecker.C
index 451baa54c8ac7d4fc86396f35079d9c81623834e..b381cda727acf06b2f361c5619ac40c9183cc91c 100644 (file)
@@ -593,7 +593,7 @@ void sc_store_replacement(string const & mis, string const & cor) {
 PspellCanHaveError * spell_error_object;
 
 static
-void init_spell_checker(BufferParams const &, string const & lang)
+void init_spell_checker(BufferParams const &, string const & /* lang */)
 {
        PspellConfig * config = new_pspell_config();
        spell_error_object = new_pspell_manager(config);
@@ -630,7 +630,6 @@ isp_result * sc_check_word(string const & word)
        if (word_ok) {
                result->flag = ISP_OK;
        } else {
-
                PspellWordList const * sugs =
                        pspell_manager_suggest(sc, word.c_str());
                Assert(sugs != 0);