diff options
Diffstat (limited to 'vcl/source/window/msgbox.cxx')
-rw-r--r-- | vcl/source/window/msgbox.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx index 6aca66e50320..c7d0e3680c09 100644 --- a/vcl/source/window/msgbox.cxx +++ b/vcl/source/window/msgbox.cxx @@ -437,7 +437,7 @@ Size MessBox::GetOptimalSize() const void InfoBox::ImplInitInfoBoxData() { // Default Text is the display title from the application - if ( !GetText().Len() ) + if ( GetText().isEmpty() ) SetText( Application::GetDisplayName() ); SetImage( InfoBox::GetStandardImage() ); @@ -472,7 +472,7 @@ Image InfoBox::GetStandardImage() void WarningBox::ImplInitWarningBoxData() { // Default Text is the display title from the application - if ( !GetText().Len() ) + if ( GetText().isEmpty() ) SetText( Application::GetDisplayName() ); SetImage( WarningBox::GetStandardImage() ); @@ -517,7 +517,7 @@ Image WarningBox::GetStandardImage() void ErrorBox::ImplInitErrorBoxData() { // Default Text is the display title from the application - if ( !GetText().Len() ) + if ( GetText().isEmpty() ) SetText( Application::GetDisplayName() ); SetImage( ErrorBox::GetStandardImage() ); @@ -562,7 +562,7 @@ Image ErrorBox::GetStandardImage() void QueryBox::ImplInitQueryBoxData() { // Default Text is the display title from the application - if ( !GetText().Len() ) + if ( GetText().isEmpty() ) SetText( Application::GetDisplayName() ); SetImage( QueryBox::GetStandardImage() ); |