https://bugs.documentfoundation.org/show_bug.cgi?id=104079

Xisco FaulĂ­ <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |bibisected, bisected,
                   |                            |regression
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[email protected]
     Ever confirmed|0                           |1

--- Comment #2 from Xisco FaulĂ­ <[email protected]> ---
Regression introduced by:

author  Miklos Vajna <[email protected]>  2014-07-15 16:18:19 (GMT)
committer       Miklos Vajna <[email protected]>  2014-07-15 17:05:06
(GMT)
commit  fc3eb493ac9e8dec35060524db4dc8ca3210631a (patch)
tree    ee91f13e4806ac8d7eb74469a90de563298799a6
parent  6d3269ad94bbad8abae5703edc86d8888356bf14 (diff)

Related: bnc#875718 DOCX import: fix missing character grab-bag on fields
The problem was that in case:

1) The paragraph only had a single text portion, which was a field and
char grab-bag was set on it and
2) The paragraph had a style which also set the character grab-bag

then during import the field's gra-bag was set on the paragraph (as it's
the only portion) and later the paragraph style overwrote this, in case
that had a grab-bag, too.

Work this around by ensuring that in case of portion fields (i.e. not
ToC, which has its own paragraphs), there are always at least two
portions in a paragraph (the second is removed later).

This also fixes the fake paragraph problem at the end of the bnc#875718
testcase. (There was an empty paragraph at the end of the document, but
not in the file itself.)

Adding Cc: to Miklos Vajna

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to