Find attached changes to lib-gui/comphelper to get some tests working again. These patches are LGPLv3+/MPL. This is my first contribution in this project - so don't hesitate with critics if its not the common procedure.