summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com>2013-01-16 00:48:28 +0100
committerPierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com>2013-01-16 00:56:22 +0100
commit6819f9b834581acd5507cd2301bda8b5395b937d (patch)
tree2309f1087d2536415ce5dd6a4e3f16cd0526c3b9
parent30798fbedb93bca8988ca3a0f626dedc3df052d3 (diff)
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
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index e72e9241a63c..9d1ded5a685f 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -1472,15 +1472,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 );