summaryrefslogtreecommitdiff
path: root/sc/source/ui/pagedlg/tphf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/pagedlg/tphf.cxx')
-rw-r--r--sc/source/ui/pagedlg/tphf.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/pagedlg/tphf.cxx b/sc/source/ui/pagedlg/tphf.cxx
index 3d495da48f0b..e1cf1d5d994c 100644
--- a/sc/source/ui/pagedlg/tphf.cxx
+++ b/sc/source/ui/pagedlg/tphf.cxx
@@ -87,19 +87,19 @@ void ScHFPage::Reset( const SfxItemSet& rSet )
TurnOnHdl( 0 );
}
-bool ScHFPage::FillItemSet( SfxItemSet& rOutSet )
+bool ScHFPage::FillItemSet( SfxItemSet* rOutSet )
{
bool bResult = SvxHFPage::FillItemSet( rOutSet );
if ( nId == SID_ATTR_PAGE_HEADERSET )
{
- rOutSet.Put( aDataSet.Get( ATTR_PAGE_HEADERLEFT ) );
- rOutSet.Put( aDataSet.Get( ATTR_PAGE_HEADERRIGHT ) );
+ rOutSet->Put( aDataSet.Get( ATTR_PAGE_HEADERLEFT ) );
+ rOutSet->Put( aDataSet.Get( ATTR_PAGE_HEADERRIGHT ) );
}
else
{
- rOutSet.Put( aDataSet.Get( ATTR_PAGE_FOOTERLEFT ) );
- rOutSet.Put( aDataSet.Get( ATTR_PAGE_FOOTERRIGHT ) );
+ rOutSet->Put( aDataSet.Get( ATTR_PAGE_FOOTERLEFT ) );
+ rOutSet->Put( aDataSet.Get( ATTR_PAGE_FOOTERRIGHT ) );
}
return bResult;
@@ -125,7 +125,7 @@ int ScHFPage::DeactivatePage( SfxItemSet* pSetP )
{
if ( LEAVE_PAGE == SvxHFPage::DeactivatePage( pSetP ) )
if ( pSetP )
- FillItemSet( *pSetP );
+ FillItemSet( pSetP );
return LEAVE_PAGE;
}