]> git.lyx.org Git - lyx.git/blobdiff - src/bufferview_funcs.C
use the new sstream return non-pods as const, use string instead of char * in a lot...
[lyx.git] / src / bufferview_funcs.C
index 8d68fc7456fe4aa18b9b89c606707880f52fb7b7..66fc4c0a24cff883d815a59548bd26f2350c8f68 100644 (file)
@@ -247,7 +247,7 @@ void FontSize(BufferView * bv, string const & size)
 
 
 // Returns the current font and depth as a message. 
-string CurrentState(BufferView * bv)
+string const CurrentState(BufferView * bv)
 {
        string state;
        if (bv->available()) {