Fixup 17571104: really avoid empty numbers in toc

For some reason, I missed this one when trying to fix the bug.

Fixes bug #11423.
This commit is contained in:
Jean-Marc Lasgouttes 2019-07-01 12:05:31 +02:00
parent 455f10eae7
commit 5a22b2e391

View File

@ -213,7 +213,7 @@ InsetMathHull::InsetMathHull(Buffer * buf)
InsetMathHull::InsetMathHull(Buffer * buf, HullType type) InsetMathHull::InsetMathHull(Buffer * buf, HullType type)
: InsetMathGrid(buf, getCols(type), 1), type_(type), numbered_(1, NUMBER), : InsetMathGrid(buf, getCols(type), 1), type_(type), numbered_(1, NONUMBER),
numbers_(1, empty_docstring()), label_(1, dummy_pointer), numbers_(1, empty_docstring()), label_(1, dummy_pointer),
preview_(new RenderPreview(this)) preview_(new RenderPreview(this))
{ {