summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/labfmt.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/envelp/labfmt.hxx')
-rw-r--r--sw/source/ui/envelp/labfmt.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/envelp/labfmt.hxx b/sw/source/ui/envelp/labfmt.hxx
index 81e79351ce16..1be3737a1e0b 100644
--- a/sw/source/ui/envelp/labfmt.hxx
+++ b/sw/source/ui/envelp/labfmt.hxx
@@ -108,13 +108,13 @@ public:
virtual bool FillItemSet(SfxItemSet* rSet) override;
virtual void Reset(const SfxItemSet* rSet) override;
- SwLabDlg* GetParentSwLabDlg() {return static_cast<SwLabDlg*>(GetTabDialog());}
+ SwLabDlg* GetParentSwLabDlg() {return static_cast<SwLabDlg*>(GetDialogController());}
};
class SwSaveLabelDlg : public weld::GenericDialogController
{
bool bSuccess;
- VclPtr<SwLabDlg> m_pLabDialog;
+ SwLabDlg* m_pLabDialog;
SwLabRec& rLabRec;
std::unique_ptr<weld::ComboBoxText> m_xMakeCB;