summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-08 11:17:45 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2020-09-09 11:13:47 +0200
commit70e048190a24e797a9aa3954c3d19060ee4b442e (patch)
tree28e1a91017e112bd690cb8e7b496ad26b37d0682 /basic
parent090c81157ab5a1a07ad6d3d1233a304cf629f978 (diff)
tdf#134477 add VclMessageType::Other to indicate image-less generic InfoBox
Change-Id: I76e86bf4d82b33771ea2900517712be57ae7f03d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102234 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.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 106bfe806d0b..671cbe0a316d 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -4378,7 +4378,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)
{
@@ -4392,7 +4392,6 @@ void SbRtl_MsgBox(StarBASIC *, SbxArray & rPar, bool)
eType = VclMessageType::Warning;
break;
case 64:
- default:
eType = VclMessageType::Info;
break;
}