diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-10-17 15:45:18 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-10-22 15:27:41 +0200 |
commit | d8643c11d4c89f0534b3caebd4e0fbf212777140 (patch) | |
tree | 526adc470247ef1dcaf96a5f3fcb950c75d45c40 | |
parent | a25776ae243646179a0bb3cd7f16a6d46f09b4cf (diff) |
write the custom sort list info into the item set, fdo#53870
(cherry picked from commit 4302eb0a6c4e28ab675de9d59e73cac345ba30c7)
Signed-off-by: David Tardon <dtardon@redhat.com>
(cherry picked from commit 07cc274256ebff259e228e7285bc27e6ddc94fdc)
Change-Id: I9c7f62b47f83b7798a8efdbf3896503918929f03
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/optdlg/tpusrlst.cxx | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 845e551ac7f1..2635cb8e628c 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -2051,7 +2051,10 @@ SfxItemSet* ScModule::CreateItemSet( sal_uInt16 nId ) // TP_USERLISTS if ( pUL ) + { aULItem.SetUserList( *pUL ); + pRet->Put(aULItem); + } // TP_COMPATIBILITY pRet->Put( SfxUInt16Item( SID_SC_OPT_KEY_BINDING_COMPAT, diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx index 3eee0085bb0e..ba6fc9a7b926 100644 --- a/sc/source/ui/optdlg/tpusrlst.cxx +++ b/sc/source/ui/optdlg/tpusrlst.cxx @@ -96,6 +96,7 @@ ScTpUserLists::ScTpUserLists( Window* pParent, { SetExchangeSupport(); Init(); + Reset(rCoreAttrs); FreeResource(); } @@ -153,6 +154,7 @@ void ScTpUserLists::Init() aFtCopyFrom.Disable(); aEdCopyFrom.Disable(); } + } // ----------------------------------------------------------------------- |