Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


I import Libreoffice to Eclipse and got 3 warnings "No break at the end of
case" at lines 5388,

The comment on the previous line says "// fall-through" , so it is intentional.

9676

That one probably is unintentional, but as you see, harmless anyway.

and 11012?

That one certainly looks like a bug, yes. Have you tested whether
axial gradients indeed end up looking wrong in exported PDF? (Or
perhaps even generate incorrect PDF?)

Is this normal behaviour?

You mean whether it is normal behaviour for people to make mistakes?
Yes. That's why we try hard to make our code warning-free, i.e. to
compile with -Werror (gcc and Clang) or -WX (MSVC), and use static
analysers. Why the compilers and static analysers have not warned
about at least the last case you mentioned, I don't know.

--tml

Context


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.