https://bugs.freedesktop.org/show_bug.cgi?id=46610

             Bug #: 46610
           Summary: EasyHack: vcl - remove un-used return values ...
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO Master
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Poking at vcl, I notice the vcl/inc/vcl/region.hxx class defines several
methods:

Union, Intersect, Exclude, XOr etc. which -seem- to return a sal_Bool that is
always true :-)

We should investigate if that is so, and if it is, then remove the return value
from the signature(s), and check call-sites to ensure that this is not used
anywhere. Hopefully that'd make the good, mutating function of those methods
more obvious.

Thanks.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to