diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-11 11:21:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-11 20:25:14 +0100 |
commit | b7bcb17311ea99d1849f87e329add0eff5f6fc75 (patch) | |
tree | d2ef90ffc16a772c8766568ca15ab3578e4ef5ce /svx/source/inc | |
parent | 4fa2abb5e013738b0f7780a7eb29acdce24794b8 (diff) |
refactor getDialogParentWindow to take an XFormController arg
Change-Id: I4c42adfa079babf7d3efbd881293102d6cb526ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112334
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/inc')
-rw-r--r-- | svx/source/inc/formcontroller.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/inc/formcontroller.hxx b/svx/source/inc/formcontroller.hxx index 065852fe9c3a..6ed3ffeb2c4c 100644 --- a/svx/source/inc/formcontroller.hxx +++ b/svx/source/inc/formcontroller.hxx @@ -507,8 +507,8 @@ namespace svxform bool isLocked() const {return m_bLocked;} bool determineLockState() const; - vcl::Window* getDialogParentWindow(); - // returns the window which should be used as parent window for dialogs + // returns the window which should be used as parent window for dialogs + static vcl::Window* getDialogParentWindow(css::uno::Reference<css::form::runtime::XFormController> xFormController); css::uno::Reference< css::frame::XDispatchProviderInterceptor> createInterceptor(const css::uno::Reference< css::frame::XDispatchProviderInterception>& _xInterception); // create a new interceptor, register it on the given object |