summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-17 15:45:18 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-17 15:53:26 +0200
commit4302eb0a6c4e28ab675de9d59e73cac345ba30c7 (patch)
tree5c51ae72ddecd0f417e2e08ed7008cf128eb946f /sc
parentonly use non blank cells in the visible data methods, fdo#54552 (diff)
downloadcore-4302eb0a6c4e28ab675de9d59e73cac345ba30c7.tar.gz
core-4302eb0a6c4e28ab675de9d59e73cac345ba30c7.zip
write the custom sort list info into the item set, fdo#53870
Change-Id: I9c7f62b47f83b7798a8efdbf3896503918929f03
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/scmod.cxx3
-rw-r--r--sc/source/ui/optdlg/tpusrlst.cxx2
2 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 2b74872eafb8..3a9ff2f50946 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -2043,7 +2043,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 a4f7428a836d..092b24f6ca52 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();
}
+
}
// -----------------------------------------------------------------------