mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Try alternative syntax for signaling false positive
This commit is contained in:
parent
b4fad55fd7
commit
d7dfa27574
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user