sw/source/writerfilter/dmapper/DomainMapper.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 1744883695537e41067194d26bfa906881e1db77
Author:     Noel Grandin <[email protected]>
AuthorDate: Wed Nov 19 21:41:03 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Fri Nov 21 07:26:12 2025 +0100

    officeotron: Attribute 'val' must appear on element 'w:color'.
    
    triggered in test
        testTableStyleBorderExport
    with a custom build that turns on officeotron validation.
    
    Change-Id: I345a6a08635feeba9fa7fe820cafcea4cfce41f7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194222
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <[email protected]>
    (cherry picked from commit db5f310c43586372d5e03e567f8f9e1d86f70fb8)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194247
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Michael Stahl <[email protected]>

diff --git a/sw/source/writerfilter/dmapper/DomainMapper.cxx 
b/sw/source/writerfilter/dmapper/DomainMapper.cxx
index 721a7b6a0a55..8fa48d3ccf2e 100644
--- a/sw/source/writerfilter/dmapper/DomainMapper.cxx
+++ b/sw/source/writerfilter/dmapper/DomainMapper.cxx
@@ -2515,6 +2515,8 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, const 
PropertyMapPtr& rContext )
             {
                 if (pThemeColorHandler->mnIndex >= 0)
                 {
+                    auto aBuf = OUString::number(pThemeColorHandler->mnColor, 
16);
+                    m_pImpl->appendGrabBag(m_pImpl->m_aSubInteropGrabBag, 
u"val"_ustr, OUString(RepeatedUChar('0', 6 - aBuf.length) + aBuf));
                     m_pImpl->appendGrabBag(m_pImpl->m_aSubInteropGrabBag, 
u"themeColor"_ustr, aThemeColorName.get<OUString>());
                     if (pThemeColorHandler->mnTint > 0)
                         m_pImpl->appendGrabBag(m_pImpl->m_aSubInteropGrabBag, 
u"themeTint"_ustr, aThemeColorTint.get<OUString>());

Reply via email to