https://bugs.documentfoundation.org/show_bug.cgi?id=152931
--- Comment #3 from Julien Nabet <serval2...@yahoo.fr> --- of course, we can use this patch: diff --git a/vcl/unx/generic/gdi/gdiimpl.cxx b/vcl/unx/generic/gdi/gdiimpl.cxx index 4b3b128b7442..522162fe1b11 100644 --- a/vcl/unx/generic/gdi/gdiimpl.cxx +++ b/vcl/unx/generic/gdi/gdiimpl.cxx @@ -152,7 +152,8 @@ X11SalGraphicsImpl::~X11SalGraphicsImpl() void X11SalGraphicsImpl::Init() { - mnPenPixel = mrParent.GetPixel( *moPenColor ); + if (moPenColor.has_value()) + mnPenPixel = mrParent.GetPixel( *moPenColor ); mnBrushPixel = mrParent.GetPixel( *moBrushColor ); } but would prefer having some feedback because it might just a bandaid. -- You are receiving this mail because: You are the assignee for the bug.