[Libreoffice-commits] .: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Jan 15 15:58:54 PST 2013
sw/source/filter/ww8/docxattributeoutput.cxx | 9 ---------
1 file changed, 9 deletions(-)
New commits:
commit 6819f9b834581acd5507cd2301bda8b5395b937d
Author: Pierre-Eric Pelloux-Prayer <pierre-eric at lanedo.com>
Date: Wed Jan 16 00:48:28 2013 +0100
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
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index e72e924..9d1ded5 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 );
More information about the Libreoffice-commits
mailing list