mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +00:00
Fix warning when not using Qt regexps
This commit is contained in:
parent
23fc1b270d
commit
e6a7da3b22
@ -3225,6 +3225,7 @@ void MatchStringAdv::CreateRegexp(FindAndReplaceOptions const & opt, string rege
|
|||||||
regexError += "Invalid regexp2 \"" + regexp2_str + "\", error = " + regexp2.errorString().toStdString();
|
regexError += "Invalid regexp2 \"" + regexp2_str + "\", error = " + regexp2.errorString().toStdString();
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
(void)par_as_string;
|
||||||
if (opt.casesensitive) {
|
if (opt.casesensitive) {
|
||||||
regexp = regex(regexp_str);
|
regexp = regex(regexp_str);
|
||||||
regexp2 = regex(regexp2_str);
|
regexp2 = regex(regexp2_str);
|
||||||
|
Loading…
Reference in New Issue
Block a user