mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
fix xxalignat bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5155 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
65bd82add0
commit
b8b975cd52
@ -214,12 +214,11 @@ Dimension const & MathArray::metrics(MathMetricsInfo & mi) const
|
||||
clean_ = true;
|
||||
drawn_ = false;
|
||||
|
||||
if (empty()) {
|
||||
mathed_char_dim(mi.base.font, 'I', dim_);
|
||||
mathed_char_dim(mi.base.font, 'I', dim_);
|
||||
if (empty())
|
||||
return dim_;
|
||||
}
|
||||
|
||||
dim_.clear();
|
||||
dim_.w = 0;
|
||||
for (const_iterator it = begin(), et = end(); it != et; ++it) {
|
||||
(*it)->metrics(mi);
|
||||
dim_ += (*it)->dimensions();
|
||||
|
@ -402,7 +402,9 @@ void MathHullInset::footer_write(WriteStream & os) const
|
||||
|
||||
bool MathHullInset::colChangeOK() const
|
||||
{
|
||||
return type_ == "align" || type_ == "alignat" || type_ == "xalignat";
|
||||
return
|
||||
type_ == "align" || type_ == "alignat" ||
|
||||
type_ == "xalignat" || type_ == "xxalignat";
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user