diff options
author | Pierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com> | 2013-01-16 00:48:28 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-01-16 11:52:51 +0100 |
commit | 98eff42e9adabc26b128e9ca25b8fd0d909c3f96 (patch) | |
tree | 682b67efe77aa42b45c05fb954ea4aa406b0ee37 | |
parent | 0151af9d7e8741b363fce90b684615bb49161913 (diff) |
fdo#59275: docx export: fix regression on table borders export
The removed code was supposed to allow LO to write cell borders only
if they were different from default cell border.
Bug #59275 show that this is incorrect.
Change-Id: If31914c412480fdadb775ca6675999ecde3e6bba
(cherry picked from commit 6819f9b834581acd5507cd2301bda8b5395b937d)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 475645b84679..fb0b39634164 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -1466,15 +1466,6 @@ static void impl_pageBorders( FSHelperPtr pSerializer, const SvxBoxItem& rBox, s for( int i = 0; i < 4; ++i, ++pBrd ) { const SvxBorderLine* pLn = rBox.GetLine( *pBrd ); - if ( pDefaultBorders && pLn ) - { - const SvxBorderLine* pRefLn = pDefaultBorders->GetLine( *pBrd ); - - // If border is equal to default border: do not output - if ( pRefLn && *pLn == *pRefLn) { - continue; - } - } if (!tagWritten && bWriteTag) { pSerializer->startElementNS( XML_w, tag, FSEND ); |