]> git.lyx.org Git - features.git/blobdiff - src/spellchecker.C
change to use ostreams instead of string when writing files. fiddling with insettext...
[features.git] / src / spellchecker.C
index be3479aab617e52d52a58fb2f7b17c74c0c4c861..8ce786d25416e879e667238cc6c39fbbfad1a1c8 100644 (file)
@@ -767,8 +767,7 @@ bool RunSpellChecker(BufferView * bv)
    
        if(isp_pid!= -1) {
                ispell_terminate();
-               string word_msg;
-               word_msg += tostr(word_count);
+               string word_msg(tostr(word_count));
                if (word_count != 1) {
                        word_msg += _(" words checked.");
                } else {