[Libreoffice-commits] .: Branch 'libreoffice-4-0' - sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 14 07:43:03 PST 2013


 sw/source/filter/ww8/docxattributeoutput.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5be5a6960fb454912896284d11314fafe60b2792
Author: Pierre-Eric Pelloux-Prayer <pierre-eric at lanedo.com>
Date:   Mon Jan 14 14:49:01 2013 +0100

    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
    Reviewed-on: https://gerrit.libreoffice.org/1672
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

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 @@ void DocxAttributeOutput::FormatBox( const SvxBoxItem& rBox )
         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 )
     {


More information about the Libreoffice-commits mailing list