https://bugs.documentfoundation.org/show_bug.cgi?id=150992

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |haveBacktrace

--- Comment #3 from Julien Nabet <[email protected]> ---
Noel: thought you might be interested in this one.
I wonder if the sort is ok, ie if this:
57             std::sort(aPopArtTable.begin(), aPopArtTable.end(),
58                       [](const PopArtEntry& lhs, const PopArtEntry& rhs) {
59                           return lhs.mnCount < rhs.mnCount;
60                       });

shouldn't be replaced with:
57             std::sort(aPopArtTable.begin(), aPopArtTable.end(),
58                       [](const PopArtEntry& lhs, const PopArtEntry& rhs) {
59                           return lhs.mnCount > rhs.mnCount;
60                       });

See
https://opengrok.libreoffice.org/xref/core/vcl/source/bitmap/BitmapPopArtFilter.cxx?r=fbe169fa#57

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to