[Libreoffice-bugs] [Bug 130428] New: Try to not use SfxItemState::UNKNOWN in preparation of refactoring of ItemSet/ItemPool

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Feb 4 13:26:21 UTC 2020


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

            Bug ID: 130428
           Summary: Try to not use SfxItemState::UNKNOWN in preparation of
                    refactoring of ItemSet/ItemPool
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: Armin.Le.Grand at me.com

Background: I do experiment actively with a much simplified, type-safe ersion
of ItemSet/ItemPool to make it easier for everyone to deal with these, still
keeping performance and mem footprint. Stumbled over
SfxItemState::SfxItemState::UNKNOWN which is in the way for that
simplifications. Looking for a way around it relealed that it might bne hard
and take off quite some of the 'easier' portion, so I'll try to remove it's
usages as much as possible.
Im most cases these usages (127) are about checking if that Item is 'known' at
the SfxItemSet which uses the info of the defined ranges at these - mostly in
UI stuff (anyways a 2nd ItemSet use that is kinda 'hacky') to hide controls.
I will try to replace usages with what really is intended and protocol it here.
This might lead to some changes in the core that hopefully will do no harm, but
to be able to revert thede and maybe cancel that try here again will not all
here

-- 
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/20200204/c5ea21c9/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list