Possible bug in fp_Page related to annotation and footnote

From: Hubert Figuière <hfiguiere_at_teaser.fr>
Date: Thu May 03 2012 - 16:43:48 CEST

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 Thu May 3 16:44:02 2012

This archive was generated by hypermail 2.1.8 : Thu May 03 2012 - 16:44:02 CEST