mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
Code rules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23241 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f496c8cdd6
commit
b0de1dca99
@ -49,15 +49,15 @@ ParamInfo::ParamData::ParamData(std::string const & s, ParamType t) :
|
||||
|
||||
bool ParamInfo::ParamData::isOptional() const
|
||||
{
|
||||
return type_ == ParamInfo::LATEX_OPTIONAL ||
|
||||
type_ == ParamInfo::LATEX_KV_OPTIONAL;
|
||||
return type_ == ParamInfo::LATEX_OPTIONAL
|
||||
|| type_ == ParamInfo::LATEX_KV_OPTIONAL;
|
||||
}
|
||||
|
||||
|
||||
bool ParamInfo::ParamData::isKeyValArg() const
|
||||
{
|
||||
return type_ == ParamInfo::LATEX_KV_REQUIRED
|
||||
|| type_ == ParamInfo::LATEX_KV_OPTIONAL;
|
||||
|| type_ == ParamInfo::LATEX_KV_OPTIONAL;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user