]> git.lyx.org Git - lyx.git/blobdiff - src/PSpell.cpp
Cleanup mouse/selection/context-menu interactions.
[lyx.git] / src / PSpell.cpp
index 3d5f043dcf523961cd989ce0f437b97b2d7522cc..c4b4d980ac661a2d8640a913e35285dc566bf25b 100644 (file)
@@ -11,7 +11,7 @@
 
 #include <config.h>
 
-#include "debug.h"
+#include "support/debug.h"
 
 #define USE_ORIGINAL_MANAGER_FUNCS 1
 // new aspell pspell missing extern "C"
@@ -24,24 +24,23 @@ extern "C" {
 
 #include <boost/assert.hpp>
 
+using namespace std;
+using namespace lyx::support;
 
 namespace lyx {
 
-using std::endl;
-using std::string;
-
 
 PSpell::PSpell(BufferParams const &, string const & lang)
        : els(0), spell_error_object(0)
 {
        addManager(lang);
-       LYXERR(Debug::GUI) << "created pspell" << endl;
+       LYXERR(Debug::GUI, "created pspell");
 }
 
 
 PSpell::~PSpell()
 {
-       LYXERR(Debug::GUI) << "killed pspell" << endl;
+       LYXERR(Debug::GUI, "killed pspell");
 
        if (spell_error_object) {
                delete_pspell_can_have_error(spell_error_object);