write the custom sort list info into the item set, fdo#53870

Change-Id: I9c7f62b47f83b7798a8efdbf3896503918929f03
This commit is contained in:
Markus Mohrhard
2012-10-17 15:45:18 +02:00
parent 40377a6e26
commit 4302eb0a6c
2 changed files with 5 additions and 0 deletions

View File

@@ -2043,7 +2043,10 @@ SfxItemSet* ScModule::CreateItemSet( sal_uInt16 nId )
// TP_USERLISTS // TP_USERLISTS
if ( pUL ) if ( pUL )
{
aULItem.SetUserList( *pUL ); aULItem.SetUserList( *pUL );
pRet->Put(aULItem);
}
// TP_COMPATIBILITY // TP_COMPATIBILITY
pRet->Put( SfxUInt16Item( SID_SC_OPT_KEY_BINDING_COMPAT, pRet->Put( SfxUInt16Item( SID_SC_OPT_KEY_BINDING_COMPAT,

View File

@@ -96,6 +96,7 @@ ScTpUserLists::ScTpUserLists( Window* pParent,
{ {
SetExchangeSupport(); SetExchangeSupport();
Init(); Init();
Reset(rCoreAttrs);
FreeResource(); FreeResource();
} }
@@ -153,6 +154,7 @@ void ScTpUserLists::Init()
aFtCopyFrom.Disable(); aFtCopyFrom.Disable();
aEdCopyFrom.Disable(); aEdCopyFrom.Disable();
} }
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------