summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2018-08-14 02:28:54 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2018-08-14 10:29:39 +0200
commitea77c31944c7ca8896e5e58f3f57d9a9cbe9b6bb (patch)
tree2fcb02758e6a085e447536bf868fd2b3826a7039 /svx
parent775dfaee0f5f9c304cc55f2fdea8126db192a38a (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>
Diffstat (limited to 'svx')
-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 179fc9d85ea5..01f30d5266e8 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();
}