BitmapPalette::GetGreyPalette() missing an index?
chris.sherlock79 at gmail.com
Sun Feb 25 19:23:12 UTC 2018
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...
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…
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice