mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
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:
parent
2b30ed58ef
commit
ae7a262a78
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user