sw/source/filter/ww8/docxexport.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit d0ccc214726a5a980b13b46f84a3590cfd975ec6
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Mon Dec 16 12:22:07 2024 +0000
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Tue Dec 17 23:28:08 2024 +0100

    crashtesting: unable to import docx export of forum-de2-10510.ott
    
    "No namespace defined for pic at sax/source/fastparser/fastparser.cxx:718"
    
    Change-Id: I417ee6608b63f27b92236ab96cc705d4261b8350
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178597
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/sw/source/filter/ww8/docxexport.cxx 
b/sw/source/filter/ww8/docxexport.cxx
index c02703184fc1..f8ed32ae415c 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -1990,6 +1990,7 @@ rtl::Reference<FastAttributeList> 
DocxExport::MainXmlNamespaces()
     pAttr->add( FSNS( XML_xmlns, XML_w ), 
OUStringToOString(m_rFilter.getNamespaceURL(OOX_NS(doc)), 
RTL_TEXTENCODING_UTF8) );
     pAttr->add( FSNS( XML_xmlns, XML_w10 ), 
OUStringToOString(m_rFilter.getNamespaceURL(OOX_NS(vmlWord)), 
RTL_TEXTENCODING_UTF8) );
     pAttr->add( FSNS( XML_xmlns, XML_wp ), 
OUStringToOString(m_rFilter.getNamespaceURL(OOX_NS(dmlWordDr)), 
RTL_TEXTENCODING_UTF8) );
+    pAttr->add( FSNS( XML_xmlns, XML_pic ), 
OUStringToOString(m_rFilter.getNamespaceURL(OOX_NS(dmlPicture)), 
RTL_TEXTENCODING_UTF8) );
     pAttr->add( FSNS( XML_xmlns, XML_wps ), 
OUStringToOString(m_rFilter.getNamespaceURL(OOX_NS(wps)), 
RTL_TEXTENCODING_UTF8) );
     pAttr->add( FSNS( XML_xmlns, XML_wpg ), 
OUStringToOString(m_rFilter.getNamespaceURL(OOX_NS(wpg)), 
RTL_TEXTENCODING_UTF8) );
     pAttr->add( FSNS( XML_xmlns, XML_mc ), 
OUStringToOString(m_rFilter.getNamespaceURL(OOX_NS(mce)), 
RTL_TEXTENCODING_UTF8) );

Reply via email to