[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jul 21 08:26:01 UTC 2020
vcl/source/window/builder.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 299638cab15831d31e7906d557d4f95239be4df9
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 20 16:23:08 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jul 21 10:25:21 2020 +0200
m_bLegacy is always false for dialog
Change-Id: I3cc208c1b7576dc47b6259a1a388f1aeaf65c435
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99105
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index e280c0ce655b..1a6546b689a1 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1733,7 +1733,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
else
xWindow = VclPtr<Dialog>::Create(pParent, nBits, eInit);
#if HAVE_FEATURE_DESKTOP
- if (!m_bLegacy && !extractModal(rMap))
+ if (!extractModal(rMap))
xWindow->SetType(WindowType::MODELESSDIALOG);
#endif
}
More information about the Libreoffice-commits
mailing list