From db9f6c44cac246250e89ca4e9aa127dee912d7f5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 23 Apr 2018 10:50:29 +0100 Subject: set SfxTabPage parent dialog explicitly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If7813f9f5e35694312b055cc92868638bc3773d5 Reviewed-on: https://gerrit.libreoffice.org/53326 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sw/source/ui/envelp/labprt.hxx | 2 +- sw/source/ui/envelp/swuilabimp.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/source/ui/envelp/labprt.hxx b/sw/source/ui/envelp/labprt.hxx index e36ab980e1f4..500f2c40332c 100644 --- a/sw/source/ui/envelp/labprt.hxx +++ b/sw/source/ui/envelp/labprt.hxx @@ -45,7 +45,7 @@ class SwLabPrtPage : public SfxTabPage DECL_LINK( CountHdl, Button *, void ); - SwLabDlg* GetParentSwLabDlg() {return static_cast(GetParentDialog());} + SwLabDlg* GetParentSwLabDlg() {return static_cast(GetTabDialog());} using TabPage::ActivatePage; using TabPage::DeactivatePage; diff --git a/sw/source/ui/envelp/swuilabimp.hxx b/sw/source/ui/envelp/swuilabimp.hxx index 09e4dcc96b12..b63c30df324f 100644 --- a/sw/source/ui/envelp/swuilabimp.hxx +++ b/sw/source/ui/envelp/swuilabimp.hxx @@ -72,7 +72,7 @@ public: virtual bool FillItemSet(SfxItemSet* rSet) override; virtual void Reset(const SfxItemSet* rSet) override; - SwLabDlg* GetParentSwLabDlg() {return static_cast(GetParentDialog());} + SwLabDlg* GetParentSwLabDlg() {return static_cast(GetTabDialog());} void SetToBusinessCard(); -- cgit