]> git.lyx.org Git - lyx.git/blobdiff - src/pspell.C
Make string conversion work with non-ucs2-characters if using qt 4.2
[lyx.git] / src / pspell.C
index f7122650ba6eafa317d065efd8cf8bda9c8f961b..cd03873b4440ae13ca9fd192ba683580608b2013 100644 (file)
@@ -24,6 +24,11 @@ extern "C" {
 
 #include <boost/assert.hpp>
 
+
+namespace lyx {
+
+using docstring;
+
 using std::endl;
 using std::string;
 
@@ -141,7 +146,7 @@ string const PSpell::nextMiss()
 }
 
 
-string const PSpell::error()
+docstring const PSpell::error()
 {
        char const * err = 0;
 
@@ -153,3 +158,6 @@ string const PSpell::error()
                return err;
        return "";
 }
+
+
+} // namespace lyx