Hi all,
I’ve been writing some unit tests around bitmaps and colours, and when I went to write a unit test
for BitmapPalette::GetGreyPalette(nNum) it seems to be missing index 0 for grey palettes that
should have 16 entries...
https://opengrok.libreoffice.org/xref/core/vcl/source/gdi/bitmap.cxx#140
<https://opengrok.libreoffice.org/xref/core/vcl/source/gdi/bitmap.cxx#140>
Obviously, this is fixable, but not sure if this should actually be done - would it cause issues
elsewhere in the code? For instance, would this cause issues in existing documents?
Any advise would be greatly appreciated…
Chris
Context
- BitmapPalette::GetGreyPalette() missing an index? · Chris Sherlock
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.