summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/labprt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/envelp/labprt.cxx')
-rw-r--r--sw/source/ui/envelp/labprt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/envelp/labprt.cxx b/sw/source/ui/envelp/labprt.cxx
index cc5a9e3c152a..65ddb7ebc746 100644
--- a/sw/source/ui/envelp/labprt.cxx
+++ b/sw/source/ui/envelp/labprt.cxx
@@ -107,7 +107,7 @@ void SwLabPrtPage::ActivatePage( const SfxItemSet& rSet )
int SwLabPrtPage::DeactivatePage(SfxItemSet* _pSet)
{
if ( _pSet )
- FillItemSet(*_pSet);
+ FillItemSet(_pSet);
return sal_True;
}
@@ -120,12 +120,12 @@ void SwLabPrtPage::FillItem(SwLabItem& rItem)
rItem.bSynchron = m_pSynchronCB->IsChecked() && m_pSynchronCB->IsEnabled();
}
-bool SwLabPrtPage::FillItemSet(SfxItemSet& rSet)
+bool SwLabPrtPage::FillItemSet(SfxItemSet* rSet)
{
SwLabItem aItem;
GetParentSwLabDlg()->GetLabItem(aItem);
FillItem(aItem);
- rSet.Put(aItem);
+ rSet->Put(aItem);
return true;
}