summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorshehr <shehr.bano@collabora.com>2023-05-17 16:18:42 +0500
committerAndras Timar <andras.timar@collabora.com>2023-05-18 20:33:41 +0200
commit3a869a4ba79795715e91bd3c24e177148e6d238b (patch)
treec8ff97233aff623e169b6bae067c42f2d7fcbfcd /sc
parent65ffe4eac759363949c951abcc6f30df0f401e0c (diff)
JSDialog: Validity message dialog is tunneled #6327
Change-Id: I83b181b5b613fa8c973f673e1afdc6ee12422545 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151886 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Tested-by: Jenkins (cherry picked from commit 0d2cdb780609b5ead22f1e82347240e06dac2afa) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151915 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/validat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/validat.cxx b/sc/source/core/data/validat.cxx
index 009bc0eaebe7..befdbb40831d 100644
--- a/sc/source/core/data/validat.cxx
+++ b/sc/source/core/data/validat.cxx
@@ -406,7 +406,7 @@ bool ScValidationData::DoError(weld::Window* pParent, const OUString& rInput,
}
std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(pParent, eType,
- eStyle, aMessage));
+ eStyle, aMessage, SfxViewShell::Current()));
xBox->set_title(aTitle);
xBox->SetInstallLOKNotifierHdl(LINK(nullptr, ScValidationData, InstallLOKNotifierHdl));