diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-05 11:45:16 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-05 14:48:28 +0100 |
commit | 972a4a88cf1caec63cb3dcd3be610d1a840f50c9 (patch) | |
tree | 35cdfc924bce421424c5e4f9768ad3b18e33fd70 /sw | |
parent | ddd43218e9900536381733735adf8681d345e775 (diff) |
there's already a way to pass around the SfxRequest source frame
Change-Id: I790497c3e651890e0971ee334d599a98a7aae7f0
Reviewed-on: https://gerrit.libreoffice.org/50768
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/shells/txtnum.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/txtnum.cxx b/sw/source/uibase/shells/txtnum.cxx index 6a715a75ae94..5565c2bd1db6 100644 --- a/sw/source/uibase/shells/txtnum.cxx +++ b/sw/source/uibase/shells/txtnum.cxx @@ -184,7 +184,7 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq) SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); assert(pFact && "Dialog creation failed!"); - vcl::Window *pParent = rReq.GetDialogParent(); + vcl::Window *pParent = rReq.GetFrameWindow(); if (!pParent) pParent = GetView().GetWindow(); |