diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/msgbox.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx index 042c629b03ed..b42136c97cc0 100644 --- a/vcl/source/window/msgbox.cxx +++ b/vcl/source/window/msgbox.cxx @@ -573,7 +573,13 @@ ErrorBox::ErrorBox( Window* pParent, const ResId& rResId ) : Image ErrorBox::GetStandardImage() { - ImplInitMsgBoxImageList(); + try { + ImplInitMsgBoxImageList(); + } catch (const ::com::sun::star::uno::Exception &e) { + // During early bootstrap we can have no initialized + // ucb and hence no ability to get this image, so nop. + return Image(); + } return ImplGetSVData()->maWinData.mpMsgBoxImgList->GetImage( 1 ); } |