]> git.lyx.org Git - lyx.git/blobdiff - src/cursor.C
convert author names and status messages to docstring
[lyx.git] / src / cursor.C
index 4dacb3674a0d1efb93fec32716b6c8351f4d519d..5bccc4d13b2a146428f7c7fc8a5b7504dd58045d 100644 (file)
@@ -1203,18 +1203,18 @@ docstring LCursor::selectionAsString(bool label) const
 }
 
 
-string LCursor::currentState()
+docstring LCursor::currentState()
 {
        if (inMathed()) {
                odocstringstream os;
                info(os);
-               return to_utf8(os.str());
+               return os.str();
        }
 
        if (inTexted())
                return text()->currentState(*this);
 
-       return string();
+       return docstring();
 }