<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi all, <div class=""><br class=""></div><div class="">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...</div><div class=""><br class=""></div><div class=""><a href="https://opengrok.libreoffice.org/xref/core/vcl/source/gdi/bitmap.cxx#140" class="">https://opengrok.libreoffice.org/xref/core/vcl/source/gdi/bitmap.cxx#140</a></div><div class=""><br class=""></div><div class="">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?</div><div class=""><br class=""></div><div class="">Any advise would be greatly appreciated…</div><div class=""><br class=""></div><div class="">Chris</div></body></html>