mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Metrics fix. Empty math inset doesn't have zero dimension.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20899 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
04ee2d87fc
commit
9f60651fcb
@ -437,11 +437,6 @@ void MathData::setXY(BufferView & bv, int x, int y) const
|
||||
|
||||
Dimension const & MathData::dimension(BufferView const & bv) const
|
||||
{
|
||||
if (empty()) {
|
||||
static Dimension dummy;
|
||||
return dummy;
|
||||
}
|
||||
|
||||
return bv.coordCache().getArrays().dim(this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user