Re: Possible bug in fp_Page related to annotation and footnote

From: Martin Sevior <msevior_at_gmail.com>
Date: Fri May 04 2012 - 01:25:51 CEST

Hi Hub,

Thanks very much for this. It sure looks like a bug to me. I'll check it out.

Cheers

Martin

On Fri, May 4, 2012 at 12:43 AM, Hubert Figuière <hfiguiere@teaser.fr> wrote:
>
> Hi,
>
> I just filed this bug
>
>  http://bugzilla.abisource.com/show_bug.cgi?id=13352
>
> The error is detected by clang:
>
>  CXX    fp_Page.lo
> ../../../../../src/text/fmt/xp/fp_Page.cpp:1533:5: warning: use of unary
> operator that may be intended as compound assignment (+=)
>        iY =+ iFootnoteHeight;
>           ^~
> ../../../../../src/text/fmt/xp/fp_Page.cpp:1544:7: warning: use of unary
> operator that may be intended as compound assignment (+=)
>                        iY =+ iAnnotationHeight;
>                           ^~
> 2 warnings generated.
>
>
> I don't really have the time to investigate it at the moment, but it
> involve improperly calculating height when performing page breaks.
>
> If someone with a better understanding of the code can give it a look.
>
> Thanks,
>
> Hub
Received on Fri May 4 01:26:01 2012

This archive was generated by hypermail 2.1.8 : Fri May 04 2012 - 01:26:01 CEST