https://bugs.documentfoundation.org/show_bug.cgi?id=131785

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|6.4.2.2 release             |Inherited From OOo

--- Comment #12 from Justin L <[email protected]> ---
Already happens in bibisect-43all with LO 3.5. Probably inherit from OOo.

This sounds so much like bug 114799, but none of that code has any impact here. 
However, avoiding UNDERLINE is here.

Ahh, here it is. It is the same SetDiffFnt issue as DOCX faced.
txtfld.cxx's SwTextFormatter::NewNumberPortion

    // Apply the explicit attributes from the character style
    // associated with the numbering to the new bullet font.
    if( pFormat )
+   {
+   // SetDiffFnt resets the background color (why?),
+   // so capture it and re-apply if it had a non-overridden value,.
+       const std::optional<Color> oFontBackColor = pNumFnt->GetBackColor();
        pNumFnt->SetDiffFnt( pFormat, pIDSA );
+       if (oFontBackColor && !pFormat->HasItem(RES_CHRATR_BACKGROUND))
+           pNumFnt->SetBackColor(oFontBackColor);
+   }

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to