Code rules.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23241 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-02-26 01:37:05 +00:00
parent f496c8cdd6
commit b0de1dca99

View File

@ -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;
}