summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg/tpusrlst.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/optdlg/tpusrlst.cxx')
-rw-r--r--sc/source/ui/optdlg/tpusrlst.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index 19c432f81f7f..06abb7ae9d53 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -192,7 +192,7 @@ void ScTpUserLists::Reset( const SfxItemSet& rCoreAttrs )
}
}
-bool ScTpUserLists::FillItemSet( SfxItemSet& rCoreAttrs )
+bool ScTpUserLists::FillItemSet( SfxItemSet* rCoreAttrs )
{
// Modifikationen noch nicht uebernommen?
// -> Click auf Add-Button simulieren
@@ -225,7 +225,7 @@ bool ScTpUserLists::FillItemSet( SfxItemSet& rCoreAttrs )
if ( pUserLists )
aULItem.SetUserList( *pUserLists );
- rCoreAttrs.Put( aULItem );
+ rCoreAttrs->Put( aULItem );
}
return bDataModified;
@@ -234,7 +234,7 @@ bool ScTpUserLists::FillItemSet( SfxItemSet& rCoreAttrs )
int ScTpUserLists::DeactivatePage( SfxItemSet* pSetP )
{
if ( pSetP )
- FillItemSet( *pSetP );
+ FillItemSet( pSetP );
return LEAVE_PAGE;
}