[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 14 05:53:05 PST 2013


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

New commits:
commit b1859c3a6d32dff66550c33831df241035d91aa9
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

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 2669b5f..273287b 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -4474,7 +4474,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