mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
FindAndReplaceOptions: initialize properly matchAtStart
Spotted by coverity.
This commit is contained in:
parent
5145694cd0
commit
bbae2c8c2a
@ -97,22 +97,22 @@ public:
|
||||
SearchRestriction restr = R_EVERYTHING,
|
||||
bool replace_all = false
|
||||
);
|
||||
FindAndReplaceOptions() : casesensitive(false), matchword(false), forward(false),
|
||||
expandmacros(false), ignoreformat(false),
|
||||
keep_case(false), scope(S_BUFFER), restr(R_EVERYTHING), replace_all(false) {}
|
||||
|
||||
FindAndReplaceOptions() {}
|
||||
|
||||
docstring find_buf_name;
|
||||
bool casesensitive;
|
||||
bool matchword;
|
||||
bool forward;
|
||||
bool matchAtStart;
|
||||
bool expandmacros;
|
||||
bool ignoreformat;
|
||||
bool casesensitive = false;
|
||||
bool matchword = false;
|
||||
bool forward = false;
|
||||
bool matchAtStart = false;
|
||||
bool expandmacros = false;
|
||||
bool ignoreformat = false;
|
||||
/// This is docstring() if no replace was requested
|
||||
docstring repl_buf_name;
|
||||
bool keep_case;
|
||||
SearchScope scope;
|
||||
SearchRestriction restr;
|
||||
bool replace_all;
|
||||
bool keep_case = false;
|
||||
SearchScope scope = S_BUFFER;
|
||||
SearchRestriction restr = R_EVERYTHING;
|
||||
bool replace_all = false;
|
||||
};
|
||||
|
||||
/// Set the formats that should be ignored
|
||||
|
Loading…
Reference in New Issue
Block a user