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

--- Comment #5 from Caolán McNamara <caol...@redhat.com> ---
Another false positive pattern I see repeatedly is...

awt::Size aGraphicSize;
...
if (aGraphicSize.Width && aGraphicSize.Height)
↑ V516 Consider inspecting an odd expression. Non-null function pointer is
compared to null: 'aGraphicSize.Height'.
↑ V516 Consider inspecting an odd expression. Non-null function pointer is
compared to null: 'aGraphicSize.Width'.

which makes me think that ::Size with Height() and Width() member functions has
been mistaken for this awt::Size with the member variables Height and Width.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to