mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Do not use same name for members and arguments
Spotted by cppcheck.
This commit is contained in:
parent
68c88bc427
commit
c73d397d32
@ -181,8 +181,8 @@ bool parse_bool(docstring & howto)
|
|||||||
class MatchString : public binary_function<Paragraph, pos_type, int>
|
class MatchString : public binary_function<Paragraph, pos_type, int>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MatchString(docstring const & str, bool cs, bool mw)
|
MatchString(docstring const & s, bool cs, bool mw)
|
||||||
: str(str), case_sens(cs), whole_words(mw)
|
: str(s), case_sens(cs), whole_words(mw)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
// returns true if the specified string is at the specified position
|
// returns true if the specified string is at the specified position
|
||||||
@ -3491,13 +3491,13 @@ docstring stringifyFromForSearch(FindAndReplaceOptions const & opt,
|
|||||||
|
|
||||||
|
|
||||||
FindAndReplaceOptions::FindAndReplaceOptions(
|
FindAndReplaceOptions::FindAndReplaceOptions(
|
||||||
docstring const & find_buf_name, bool casesensitive,
|
docstring const & _find_buf_name, bool _casesensitive,
|
||||||
bool matchword, bool forward, bool expandmacros, bool ignoreformat,
|
bool _matchword, bool _forward, bool _expandmacros, bool _ignoreformat,
|
||||||
docstring const & repl_buf_name, bool keep_case,
|
docstring const & _repl_buf_name, bool _keep_case,
|
||||||
SearchScope scope, SearchRestriction restr, bool replace_all)
|
SearchScope _scope, SearchRestriction _restr, bool _replace_all)
|
||||||
: find_buf_name(find_buf_name), casesensitive(casesensitive), matchword(matchword),
|
: find_buf_name(_find_buf_name), casesensitive(_casesensitive), matchword(_matchword),
|
||||||
forward(forward), expandmacros(expandmacros), ignoreformat(ignoreformat),
|
forward(_forward), expandmacros(_expandmacros), ignoreformat(_ignoreformat),
|
||||||
repl_buf_name(repl_buf_name), keep_case(keep_case), scope(scope), restr(restr), replace_all(replace_all)
|
repl_buf_name(_repl_buf_name), keep_case(_keep_case), scope(_scope), restr(_restr), replace_all(_replace_all)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user