oox/source/export/ThemeExport.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit b421bbf432602bd892b2c179ecdd11e00ea12813 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Mon Jun 19 15:25:40 2023 +0900 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Mon Jun 19 15:52:59 2023 +0200 oox: ThemeExport - add "relationship" xml:r namespace Blips are referenced by r:embed element, which needs the xmlns:r to be present, so add it at the toplevel. Change-Id: Iccc3d197bf30b428927521c6ba598d8d92fa734d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153243 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> (cherry picked from commit 23a7fb9582fba4e5b699f0ea4bb270719256b403) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153273 Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/oox/source/export/ThemeExport.cxx b/oox/source/export/ThemeExport.cxx index f09f9012e246..568d0dbbf615 100644 --- a/oox/source/export/ThemeExport.cxx +++ b/oox/source/export/ThemeExport.cxx @@ -49,7 +49,8 @@ void ThemeExport::write(OUString const& rPath, model::Theme const& rTheme) OUString aThemeName = rTheme.GetName(); mpFS->startElementNS(XML_a, XML_theme, FSNS(XML_xmlns, XML_a), - mpFilterBase->getNamespaceURL(OOX_NS(dml)), XML_name, aThemeName); + mpFilterBase->getNamespaceURL(OOX_NS(dml)), FSNS(XML_xmlns, XML_r), + mpFilterBase->getNamespaceURL(OOX_NS(officeRel)), XML_name, aThemeName); mpFS->startElementNS(XML_a, XML_themeElements);