summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-20 16:23:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-21 10:25:21 +0200
commit299638cab15831d31e7906d557d4f95239be4df9 (patch)
treedc16567d82a9060fcc57d960e896ecea676dda93 /vcl/source/window
parent23bfaf601d78ab2a80ec5493ef7eab1410975769 (diff)
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@redhat.com>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/builder.cxx2
1 files changed, 1 insertions, 1 deletions
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
}