TextMetrics.cpp: fix bug that AlignRight were aligned like Inline

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30474 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-07-11 11:30:41 +00:00
parent 97e857b166
commit 48dd95812d

View File

@ -571,9 +571,11 @@ void TextMetrics::computeRowMetrics(pit_type const pit,
align = LYX_ALIGN_CENTER; align = LYX_ALIGN_CENTER;
break; break;
case Inset::Inline: case Inset::Inline:
case Inset::AlignRight:
// unchanged (use align) // unchanged (use align)
break; break;
case Inset::AlignRight:
align = LYX_ALIGN_RIGHT;
break;
} }
} }