summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/envprt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/envelp/envprt.cxx')
-rw-r--r--sw/source/ui/envelp/envprt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/envelp/envprt.cxx b/sw/source/ui/envelp/envprt.cxx
index 252cf04ac0d9..304737608b33 100644
--- a/sw/source/ui/envelp/envprt.cxx
+++ b/sw/source/ui/envelp/envprt.cxx
@@ -141,7 +141,7 @@ void SwEnvPrtPage::ActivatePage(const SfxItemSet&)
int SwEnvPrtPage::DeactivatePage(SfxItemSet* _pSet)
{
if( _pSet )
- FillItemSet(*_pSet);
+ FillItemSet(_pSet);
return SfxTabPage::LEAVE_PAGE;
}
@@ -163,10 +163,10 @@ void SwEnvPrtPage::FillItem(SwEnvItem& rItem)
rItem.lShiftDown = static_cast< sal_Int32 >(GetFldVal(*m_pDownField ));
}
-bool SwEnvPrtPage::FillItemSet(SfxItemSet& rSet)
+bool SwEnvPrtPage::FillItemSet(SfxItemSet* rSet)
{
FillItem(GetParentSwEnvDlg()->aEnvItem);
- rSet.Put(GetParentSwEnvDlg()->aEnvItem);
+ rSet->Put(GetParentSwEnvDlg()->aEnvItem);
return true;
}