sal_uInt16 bHighlight = sal_False
I think this should become sal_uInt16 bHighlight = 0, or even
nHighlight; the 'b' prefix suggests it is a bool [and it is not ;-)]
Good point, will do that in master. Actually I think I would prefer to use an enum even for the
three apparently intended possible values of bHighlight, but even that won't cause a compilation
error when used illogically, enums are automatically cast to/from integral types (including
sal_Bool), aren't they?
[Actually - this is a 2nd sign-off ;-)]
--tml
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.