This is an automated email from the ASF dual-hosted git repository. truckman pushed a commit to branch AOO418 in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 8ff3034168a23405edaa383bb96439a76d71c5b6 Author: Don Lewis <truck...@apache.org> AuthorDate: Tue Nov 5 22:45:27 2019 -0800 Comment out an unused method that breaks compilation with gcc9. In case someone needs this method in the future, leave behind a note with the likely code fix. --- main/basebmp/inc/basebmp/packedpixeliterator.hxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/basebmp/inc/basebmp/packedpixeliterator.hxx b/main/basebmp/inc/basebmp/packedpixeliterator.hxx index 58a119f..038f2c3 100644 --- a/main/basebmp/inc/basebmp/packedpixeliterator.hxx +++ b/main/basebmp/inc/basebmp/packedpixeliterator.hxx @@ -606,14 +606,17 @@ public: >> get_shift<num_intraword_positions, bits_per_pixel, MsbFirst>(remainder)); } +/***** XXX - This appears to be unused and fails to compile with gcc9 value_type get(difference_type const & d) const { +// XXX - should x(d.x) be (x + d.x)? const int remainder( x(d.x) % num_intraword_positions ); return (unsigned_cast<value_type>(*current(d.x,d.y) & get_mask<value_type, bits_per_pixel, MsbFirst>(remainder)) >> get_shift<num_intraword_positions, bits_per_pixel, MsbFirst>(remainder)); } +******/ void set( value_type v ) const {