diff options
Diffstat (limited to 'sw/source/ui/envelp/envlop1.cxx')
-rw-r--r-- | sw/source/ui/envelp/envlop1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/envelp/envlop1.cxx b/sw/source/ui/envelp/envlop1.cxx index b4172fe81664..4e56860cfa4d 100644 --- a/sw/source/ui/envelp/envlop1.cxx +++ b/sw/source/ui/envelp/envlop1.cxx @@ -323,7 +323,7 @@ int SwEnvPage::DeactivatePage(SfxItemSet* _pSet) { FillItem(GetParentSwEnvDlg()->aEnvItem); if( _pSet ) - FillItemSet(*_pSet); + FillItemSet(_pSet); return SfxTabPage::LEAVE_PAGE; } @@ -334,10 +334,10 @@ void SwEnvPage::FillItem(SwEnvItem& rItem) rItem.aSendText = m_pSenderEdit->GetText(); } -bool SwEnvPage::FillItemSet(SfxItemSet& rSet) +bool SwEnvPage::FillItemSet(SfxItemSet* rSet) { FillItem(GetParentSwEnvDlg()->aEnvItem); - rSet.Put(GetParentSwEnvDlg()->aEnvItem); + rSet->Put(GetParentSwEnvDlg()->aEnvItem); return true; } |