]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiSpellchecker.cpp
Compil fix.
[lyx.git] / src / frontends / qt4 / GuiSpellchecker.cpp
index 9c4ad163cc63f43d01baee4c4c644d4c609948bd..561b99168f61460ca75be644ed489e0572427259 100644 (file)
 #include "BufferView.h"
 #include "Cursor.h"
 #include "CutAndPaste.h"
-#include "support/debug.h"
-#include "support/gettext.h"
 #include "Language.h"
 #include "LyXRC.h"
 #include "Paragraph.h"
 
-#include "support/textutils.h"
+#include "support/debug.h"
 #include "support/docstring.h"
+#include "support/gettext.h"
 #include "support/lstrings.h"
+#include "support/textutils.h"
 
 #include <QListWidgetItem>
 
@@ -110,13 +110,6 @@ void GuiSpellchecker::replaceChanged(const QString & str)
 }
 
 
-void GuiSpellchecker::closeEvent(QCloseEvent * e)
-{
-       slotClose();
-       GuiDialog::closeEvent(e);
-}
-
-
 void GuiSpellchecker::reject()
 {
        slotClose();
@@ -205,7 +198,7 @@ void GuiSpellchecker::partialUpdate(int state)
 }
 
 
-static SpellBase * getSpeller(BufferParams const & bp)
+static SpellBase * createSpeller(BufferParams const & bp)
 {
        string lang = (lyxrc.isp_use_alt_lang)
                      ? lyxrc.isp_alt_lang
@@ -234,7 +227,7 @@ bool GuiSpellchecker::initialiseParams(string const &)
 {
        LYXERR(Debug::GUI, "Spellchecker::initialiseParams");
 
-       speller_ = getSpeller(buffer().params());
+       speller_ = createSpeller(buffer().params());
        if (!speller_)
                return false;