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

New commits:
commit 26f99cba2cd696fce75f77a16d6285d14673a258
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Mon Dec 16 12:22:07 2024 +0000
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Mon Dec 16 18:04:09 2024 +0100

    crashtesting: unable to import doc 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/+/178581
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins
    (cherry picked from commit d0ecc9bbffb15bd9b312e706238a131f9a19fa0f)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178598

diff --git a/sw/source/filter/ww8/docxexport.cxx 
b/sw/source/filter/ww8/docxexport.cxx
index fce0686af353..5472a0de8460 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -2042,6 +2042,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