fdo#47670: sw: HTML: fix table border export:
commitb16cce86e7acebbe485fadb989687a55605453e0
authorMichael Stahl <mstahl@redhat.com>
Mon, 30 Apr 2012 19:18:29 +0000 (30 21:18 +0200)
committerCaolán McNamara <caolanm@redhat.com>
Tue, 1 May 2012 12:08:52 +0000 (1 13:08 +0100)
tree57500d61413b83ec2a160c1580e106e9c1aeefe2
parent920de2d0f5bfc79b2570595d95495759c009a825
fdo#47670: sw: HTML: fix table border export:

SwHTMLWrtTable::Write no longer writes BORDER and BORDERCOLOR attributes
on TABLE elements, but instead various CSS "border" properties into STYLE
attributes of the TD elements.  However, it was forgotten to also remove
the ROWS and FRAMES attributes, which (as the comments helpfully explain)
only make sense in case BORDER is actually written, and cause Mozilla to
not render some of the borders in cases RULES=ROWS or RULES=COLS.
(regression from d18feffd49f4481626417daac7984b2a7e70c3bf)
(cherry picked from commit e1424390d45deb75a75a167e7eba36c012f32d74)

Signed-off-by: Caolán McNamara <caolanm@redhat.com>
sw/source/filter/html/htmltabw.cxx