diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-09-28 15:35:26 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-09-28 15:50:33 +0200 |
commit | ebcbc970f8d0ecbba8c6d7e7c2a1b977d63bc2fb (patch) | |
tree | 373704434935866df002eab3971d6a2da22bd8b0 /sw/inc/docfac.hxx | |
parent | c9023860bbf2cc48c85a144eb7bb1f7d0a0fdd9f (diff) |
tdf#102073: sw: do not create SwFootnoteNumPortion inside table
The SwTextFormatter::WhichFirstPortion() wants to create a new
SwFootnoteNumPortion for the first paragraph in every cell, because it
doesn't have mpPrev set and SwTextFrame::IsFootnoteNumFrame() is true,
and somehow this even causes an infinite loop in the bugdoc because
initially nothing more than the footnote number fits inside a line.
Just detect that it's inside a table and return false then.
Change-Id: I1f010f1242d53d9f99a4d3a4f6fc3cee65aa3958
Diffstat (limited to 'sw/inc/docfac.hxx')
0 files changed, 0 insertions, 0 deletions