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

--- Comment #3 from Caolán McNamara <[email protected]> ---
impl for this is vcl/unx/gtk3/gtkframe.cxx:5727 we have...

while (tmp_list)
{
    PangoAttribute *pango_attr = static_cast<PangoAttribute *>(tmp_list->data);

    switch (pango_attr->klass->type)
    {
        case PANGO_ATTR_BACKGROUND:
            sal_attr |= ExtTextInputAttr::Highlight;
            rCursorFlags |= EXTTEXTINPUT_CURSOR_INVISIBLE;
            break;
        case PANGO_ATTR_UNDERLINE:
            sal_attr |= ExtTextInputAttr::Underline;
            break;
        case PANGO_ATTR_STRIKETHROUGH:
            sal_attr |= ExtTextInputAttr::RedText;
            break;
        default:
            break;
    }
    pango_attribute_destroy (pango_attr);
    tmp_list = tmp_list->next;
}
if (sal_attr == ExtTextInputAttr::NONE)
    sal_attr |= ExtTextInputAttr::Underline;

so we're probably setting underline at the end for the "NONE" case that might
be in question here.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to