summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2018-08-14 02:28:54 +0300
committerCaolán McNamara <caolanm@redhat.com>2018-08-15 11:57:45 +0200
commitd52f64b1ae7a95704ee9b17b034a43fcea05d1ea (patch)
tree5809587d7ef7f21ba959ae39099ac1cbc6f4e184 /svx/source
parent24e3426546718a9df1c0066b1f955b1d0fe4d4ea (diff)
tdf#119245 Set a parent for OParameterDialog
Change-Id: I5a7f4b43027a72f049e12c06cd583c6545b028f5 Reviewed-on: https://gerrit.libreoffice.org/58952 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> (cherry picked from commit ea77c31944c7ca8896e5e58f3f57d9a9cbe9b6bb) Reviewed-on: https://gerrit.libreoffice.org/59001 Tested-by: Xisco Faulí <xiscofauli@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/form/formcontroller.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index 4691584d8b24..19b11f16caa1 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -4204,7 +4204,8 @@ bool FormController::ensureInteractionHandler()
return false;
m_bAttemptedHandlerCreation = true;
- m_xInteractionHandler = InteractionHandler::createWithParent(m_xComponentContext, nullptr);
+ m_xInteractionHandler = InteractionHandler::createWithParent(m_xComponentContext,
+ VCLUnoHelper::GetInterface(getDialogParentWindow()));
return m_xInteractionHandler.is();
}