summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/envfmt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/envelp/envfmt.cxx')
-rw-r--r--sw/source/ui/envelp/envfmt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/envelp/envfmt.cxx b/sw/source/ui/envelp/envfmt.cxx
index c816fe933972..6ec8cab83818 100644
--- a/sw/source/ui/envelp/envfmt.cxx
+++ b/sw/source/ui/envelp/envfmt.cxx
@@ -457,7 +457,7 @@ void SwEnvFmtPage::ActivatePage(const SfxItemSet& rSet)
int SwEnvFmtPage::DeactivatePage(SfxItemSet* _pSet)
{
if( _pSet )
- FillItemSet(*_pSet);
+ FillItemSet(_pSet);
return SfxTabPage::LEAVE_PAGE;
}
@@ -485,10 +485,10 @@ void SwEnvFmtPage::FillItem(SwEnvItem& rItem)
}
}
-bool SwEnvFmtPage::FillItemSet(SfxItemSet& rSet)
+bool SwEnvFmtPage::FillItemSet(SfxItemSet* rSet)
{
FillItem(GetParentSwEnvDlg()->aEnvItem);
- rSet.Put(GetParentSwEnvDlg()->aEnvItem);
+ rSet->Put(GetParentSwEnvDlg()->aEnvItem);
return true;
}