mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Fix bug #10896.
This commit is contained in:
parent
a50d4710b3
commit
a2bd2e2dcc
@ -132,10 +132,10 @@ bool ParamInfo::hasParam(std::string const & name) const
|
||||
|
||||
|
||||
void ParamInfo::add(std::string const & name, ParamType type,
|
||||
ParamHandling handling, bool ignore,
|
||||
ParamHandling handling, bool ignoreval,
|
||||
docstring default_value)
|
||||
{
|
||||
info_.push_back(ParamData(name, type, handling, ignore, default_value));
|
||||
info_.push_back(ParamData(name, type, handling, ignoreval, default_value));
|
||||
}
|
||||
|
||||
|
||||
|
@ -88,10 +88,10 @@ public:
|
||||
};
|
||||
|
||||
/// adds a new parameter
|
||||
/// If ignore is true, then the parameter is never saved, and is always
|
||||
/// If ignoreval is true, then the parameter is never saved, and is always
|
||||
/// given the default value.
|
||||
void add(std::string const & name, ParamType type,
|
||||
ParamHandling = HANDLING_NONE, bool ignore = false,
|
||||
ParamHandling = HANDLING_NONE, bool ignoreval = false,
|
||||
docstring default_value = docstring());
|
||||
///
|
||||
bool empty() const { return info_.empty(); }
|
||||
|
Loading…
Reference in New Issue
Block a user