diff options
Diffstat (limited to 'vcl/source/window/msgbox.cxx')
-rw-r--r-- | vcl/source/window/msgbox.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx index 1b8f9d7d47fe..805eae6f8b4f 100644 --- a/vcl/source/window/msgbox.cxx +++ b/vcl/source/window/msgbox.cxx @@ -314,23 +314,6 @@ OUString GetStandardInfoBoxText() return VclResId(SV_MSGBOX_INFO); } -WarningBox::WarningBox( vcl::Window* pParent, MessBoxStyle nStyle, - const OUString& rMessage ) : - WarningBox( pParent, nStyle, 0, rMessage ) -{ -} - -WarningBox::WarningBox( vcl::Window* pParent, MessBoxStyle nStyle, WinBits nWinBits, - const OUString& rMessage ) : - MessBox( pParent, nStyle, nWinBits, OUString(), rMessage ) -{ - // Default Text is the display title from the application - if ( GetText().isEmpty() ) - SetText(GetStandardWarningBoxText()); - - SetImage(GetStandardWarningBoxImage() ); -} - Image const & GetStandardWarningBoxImage() { ImplInitMsgBoxImageList(); |