summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-10-06 19:39:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-07 16:43:52 +0200
commit1d4827a26a749ca704430d6aae972ee39e35ba10 (patch)
treecab6a1bf3b5d13c68560be62355fa619d48b4b22 /sc/source/ui/view/cellsh2.cxx
parenta5a6071264d27b9dcfa47fe2f399951edd7301c2 (diff)
use SfxItemSetFixed in sc
Change-Id: I5b1d66adb1b9e5dd0e470403ba7095183334cc66 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123182 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r--sc/source/ui/view/cellsh2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index 08526a2fa34f..0bed3b16141f 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -501,7 +501,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
if( lcl_GetSortParam( rData, aSortParam ) )
{
ScDocument& rDoc = GetViewData().GetDocument();
- SfxItemSet aArgSet( GetPool(), svl::Items<SCITEM_SORTDATA, SCITEM_SORTDATA> );
+ SfxItemSetFixed<SCITEM_SORTDATA, SCITEM_SORTDATA> aArgSet( GetPool() );
pDBData->GetSortParam( aSortParam );
bool bHasHeader = rDoc.HasColHeader( aSortParam.nCol1, aSortParam.nRow1, aSortParam.nCol2, aSortParam.nRow2, rData.GetTabNo() );