summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-08 11:17:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-08 15:16:41 +0200
commit50761e3c3da45772473f3329d5a7519b34fb1106 (patch)
tree0e780003a9f5ef34bfdc1bd6de92ed23edcfb7f4 /basic
parent0603b571230db1a1c6ff9f75f990675883e16717 (diff)
tdf#134477 add VclMessageType::Other to indicate image-less generic InfoBox
Change-Id: I76e86bf4d82b33771ea2900517712be57ae7f03d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102232 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/methods.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 91c279d477b4..78dcbf5097d6 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -4380,7 +4380,7 @@ void SbRtl_MsgBox(StarBASIC *, SbxArray & rPar, bool)
vcl::Window* pParentWin = Application::GetDefDialogParent();
weld::Widget* pParent = pParentWin ? pParentWin->GetFrameWeld() : nullptr;
- VclMessageType eType = VclMessageType::Info;
+ VclMessageType eType = VclMessageType::Other;
switch (nDialogType)
{
@@ -4394,7 +4394,6 @@ void SbRtl_MsgBox(StarBASIC *, SbxArray & rPar, bool)
eType = VclMessageType::Warning;
break;
case 64:
- default:
eType = VclMessageType::Info;
break;
}