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

            Bug ID: 120654
           Summary: sal_Bool is not bool
           Product: LibreOffice
           Version: 6.1.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: sdk
          Assignee: [email protected]
          Reporter: [email protected]

Description:
sal_Bool is typedef'd as unsigned char.

This makes it difficult to write correct template code, since MyClass<int>
would be selected instead of MyClass<bool> when using sal_Bool.

I'd suggest to redefine sal_Bool to bool.

Steps to Reproduce:
See description, nothing to reproduce.

Actual Results:
See description, wrong template specialization will be used.

Expected Results:
See description, correct template specialization should be used.


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
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