less negated logic

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27553 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2008-11-16 14:57:03 +00:00
parent 2b30ed58ef
commit ae7a262a78

View File

@ -545,21 +545,21 @@ bool InsetMathHull::numbered(row_type row) const
bool InsetMathHull::ams() const
{
return
type_ == hullAlign ||
type_ == hullFlAlign ||
type_ == hullMultline ||
type_ == hullGather ||
type_ == hullAlignAt ||
type_ == hullXAlignAt ||
type_ == hullXXAlignAt;
return type_ == hullAlign
|| type_ == hullFlAlign
|| type_ == hullMultline
|| type_ == hullGather
|| type_ == hullAlignAt
|| type_ == hullXAlignAt
|| type_ == hullXXAlignAt;
}
Inset::DisplayType InsetMathHull::display() const
{
return (type_ != hullSimple && type_ != hullNone
&& type_ != hullRegexp) ? AlignCenter : Inline;
if (type_ == hullSimple || type_ == hullNone || type_ == hullRegexp)
return Inline;
return AlignCenter;
}
bool InsetMathHull::numberedType() const