summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/gridwin2.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/gridwin2.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/gridwin2.cxx')
-rw-r--r--sc/source/ui/view/gridwin2.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx
index cfcd088bba34..0baef4a4aa96 100644
--- a/sc/source/ui/view/gridwin2.cxx
+++ b/sc/source/ui/view/gridwin2.cxx
@@ -195,8 +195,7 @@ void ScGridWindow::DoPushPivotButton( SCCOL nCol, SCROW nRow, const MouseEvent&
nSrcTab = pDesc->GetSourceRange().aStart.Tab();
}
- SfxItemSet aArgSet( mrViewData.GetViewShell()->GetPool(),
- svl::Items<SCITEM_QUERYDATA, SCITEM_QUERYDATA> );
+ SfxItemSetFixed<SCITEM_QUERYDATA, SCITEM_QUERYDATA> aArgSet( mrViewData.GetViewShell()->GetPool() );
aArgSet.Put( ScQueryItem( SCITEM_QUERYDATA, &mrViewData, &aQueryParam ) );
ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create();