]> git.lyx.org Git - lyx.git/blobdiff - src/aspell.C
hopefully fix tex2lyx linking.
[lyx.git] / src / aspell.C
index 1d711a3bf40e9e92add4fb09534f89ef8c142419..f9caa75233a690270ba6c0259b50f89d9f8a69e1 100644 (file)
 
 #include <boost/assert.hpp>
 
-using lyx::docstring;
-
 using std::string;
 
+namespace lyx {
 
 ASpell::ASpell(BufferParams const &, string const & lang)
        : els(0), spell_error_object(0)
@@ -142,5 +141,8 @@ docstring const ASpell::error()
                err = aspell_error_message(spell_error_object);
        }
 
-       return (err ? lyx::from_utf8(err) : docstring());
+       return (err ? from_utf8(err) : docstring());
 }
+
+
+} // namespace lyx