[PATCH] Change in core[libreoffice-4-0]: docx export: add missing arg to impl_pageBorders call

Pierre-Eric Pelloux-Prayer (via Code Review) gerrit at gerrit.libreoffice.org
Mon Jan 14 07:32:17 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1672

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/72/1672/1

docx export: add missing arg to impl_pageBorders call

The missing argument could cause data loss due to ill-formatted
document produced.

Change-Id: I65dee7f42c633ae9602d454e2f03ebc821c9c0ab
---
M sw/source/filter/ww8/docxattributeoutput.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 3cdc325..475645b 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -4419,7 +4419,7 @@
         m_pSerializer->startElementNS( XML_w, XML_pBdr, FSEND );
     }
 
-    impl_pageBorders( m_pSerializer, rBox, false, false );
+    impl_pageBorders( m_pSerializer, rBox, XML_pBdr, false, false );
 
     if ( m_bOpenedSectPr )
     {

-- 
To view, visit https://gerrit.libreoffice.org/1672
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I65dee7f42c633ae9602d454e2f03ebc821c9c0ab
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Pierre-Eric Pelloux-Prayer <pierre-eric at lanedo.com>



More information about the LibreOffice mailing list