]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.cpp
Use convert instead of a stream to read LFUN_REPEAT count
[lyx.git] / src / lyxfind.cpp
index 57a25e929f38ee911c0c27e4389a4eb0af680db0..441cbf18b3c0cf0396ce56d60b3944e9345e1748 100644 (file)
@@ -1476,8 +1476,9 @@ static void findAdvReplace(BufferView * bv, FindAndReplaceOptions const & opt, M
                LYXERR(Debug::FIND, "Latexified replace_buffer: '" << repl_latex << "'");
                string s;
                // false positive from coverity
-               // coverity[CHECKED_RETURN]
+               // coverity[check_return]
                regex_replace(to_utf8(repl_latex), s, "\\$(.*)\\$", "$1");
+               // coverity[check_return]
                regex_replace(s, s, "\\\\\\[(.*)\\\\\\]", "$1");
                repl_latex = from_utf8(s);
                LYXERR(Debug::FIND, "Replacing by insert()ing latex: '" << repl_latex << "' cur=" << cur << " with depth=" << cur.depth());