diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-08 11:17:45 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-09-19 21:10:52 +0200 |
commit | b89fbdcba5226d8c640bfffa6b2eede3935635ce (patch) | |
tree | a0d85b262c93b96c2682690f6c2149362e7b67e7 /basic | |
parent | c14802149fee73defbea3e2e64c09665900e8dc1 (diff) |
tdf#134477 add VclMessageType::Other to indicate image-less generic InfoBox
Change-Id: I76e86bf4d82b33771ea2900517712be57ae7f03d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102130
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/methods.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index e2ed754122c6..30ad9dc10188 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -4402,7 +4402,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) { @@ -4416,7 +4416,6 @@ void SbRtl_MsgBox(StarBASIC *, SbxArray & rPar, bool) eType = VclMessageType::Warning; break; case 64: - default: eType = VclMessageType::Info; break; } |