summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-04-25 21:16:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-25 22:30:34 +0200
commit0ffbaecea3316a5c723f6e0eb7250611b5d0f3d7 (patch)
tree8b41b976346594034b2038b10c160ac7381e29bf /vcl/source
parentfadcfa51e7ef5d654607e39073405fbe6c0c9568 (diff)
tf#131549 No titlebar on modal dialogs on macOS
regression from commit e5230535877e30c3b874495e8794faa3a42d8017 Date: Tue Mar 17 21:34:21 2020 +0200 simplify ORefVector code where a half-finished patch of mine snuck into another patch. Change-Id: I01f59a9d451f4535197d3abd7b37bfdbc8461c15 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92901 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/dialog.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 34d38021a73f..9ea561abe64f 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -966,9 +966,6 @@ bool Dialog::ImplStartExecute()
// FIXME: no layouting, workaround some clipping issues
ImplAdjustNWFSizes();
- if (mpDialogParent)
- mpDialogParent->ImplGetFrame()->BeginSheet(ImplGetFrame()); // only does anything on macOS
-
css::uno::Reference< css::uno::XComponentContext > xContext(
comphelper::getProcessComponentContext());
bool bForceFocusAndToFront(officecfg::Office::Common::View::NewDocumentHandling::ForceFocusAndToFront::get(xContext));