summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-05 11:45:16 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-05 14:48:28 +0100
commit972a4a88cf1caec63cb3dcd3be610d1a840f50c9 (patch)
tree35cdfc924bce421424c5e4f9768ad3b18e33fd70 /sw
parentddd43218e9900536381733735adf8681d345e775 (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.cxx2
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();