[Libreoffice-bugs] [Bug 137166] Conditional paragraph style not saved

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 3 09:54:42 UTC 2020


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

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED
                 CC|                            |jluth at mail.com,
                   |                            |michael.stahl at cib.de

--- Comment #7 from Justin L <jluth at mail.com> ---
Conditional styles have been there since 2000 - initial import.

For some reason, text body really is supposed to be conditional.
bool IsConditionalByPoolId(sal_uInt16 nId)
{
    // TODO: why is this style conditional?
    // If it is changed to no longer be conditional, then a style "Text Body"
    // will be imported without its conditions from ODF.
    return RES_POOLCOLL_TEXT == nId;
}

Since this has been broken since 2015 with no complaints except people who get
confused, should we just get rid of this exception to the rule completely?

*** This bug has been marked as a duplicate of bug 82802 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201203/e0e59acb/attachment.htm>


More information about the Libreoffice-bugs mailing list