Re: pdfwriter_impl.cxx: No break at the end of case
fedor_qd at mail.ru
Mon Mar 23 11:15:38 PDT 2015
Нядзеля, 22 сакавіка 2015, 22:36 +02:00 от Tor Lillqvist <tml at iki.fi>:
>> 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.
>That one probably is unintentional, but as you see, harmless anyway. maybe add comment like above?
>> 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.
>LibreOffice mailing list
>LibreOffice at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice