]> git.lyx.org Git - lyx.git/blobdiff - src/ISpell.cpp
adjust
[lyx.git] / src / ISpell.cpp
index 0c788fac13010b04a99d56f0810d98b5adae207f..c0cfe5e441af8b6fa029fc279df41eeabd70970a 100644 (file)
 # include <sys/time.h>
 #endif
 
-
-namespace lyx {
-
-using support::bformat;
-
 using boost::shared_ptr;
 
 #ifndef CXX_GLOBAL_CSTD
@@ -52,6 +47,10 @@ using std::max;
 using std::string;
 
 
+namespace lyx {
+
+using support::bformat;
+
 namespace {
 
 class LaunchIspell : public support::ForkedProcess {
@@ -221,7 +220,7 @@ docstring const from_iconv_encoding(string const & s, string const & encoding)
 ISpell::ISpell(BufferParams const & params, string const & lang)
        : in(0), out(0), inerr(0), str(0)
 {
-       LYXERR(Debug::GUI) << "Created ispell" << endl;
+       //LYXERR(Debug::GUI) << "Created ispell" << endl;
 
        encoding = params.encoding().iconvName();
 
@@ -315,7 +314,7 @@ ISpell::ISpell(BufferParams const & params, string const & lang)
 
 ISpell::~ISpell()
 {
-       LYXERR(Debug::GUI) << "Killing ispell" << endl;
+       //LYXERR(Debug::GUI) << "Killing ispell" << endl;
 
        if (in)
                fclose(in);