diff options
Diffstat (limited to 'sw/source/ui/envelp/labprt.cxx')
-rw-r--r-- | sw/source/ui/envelp/labprt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/envelp/labprt.cxx b/sw/source/ui/envelp/labprt.cxx index 07cd90e38b76..343fec9aa038 100644 --- a/sw/source/ui/envelp/labprt.cxx +++ b/sw/source/ui/envelp/labprt.cxx @@ -142,7 +142,7 @@ void SwLabPrtPage::FillItem(SwLabItem& rItem) sal_Bool SwLabPrtPage::FillItemSet(SfxItemSet& rSet) { SwLabItem aItem; - GetParent()->GetLabItem(aItem); + GetParentSwLabDlg()->GetLabItem(aItem); FillItem(aItem); rSet.Put(aItem); @@ -152,7 +152,7 @@ sal_Bool SwLabPrtPage::FillItemSet(SfxItemSet& rSet) void SwLabPrtPage::Reset(const SfxItemSet& ) { SwLabItem aItem; - GetParent()->GetLabItem(aItem); + GetParentSwLabDlg()->GetLabItem(aItem); aColField.SetValue (aItem.nCol); aRowField.SetValue (aItem.nRow); |