summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/pivotsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/pivotsh.cxx')
-rw-r--r--sc/source/ui/view/pivotsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/pivotsh.cxx b/sc/source/ui/view/pivotsh.cxx
index 40c6425a4025..84e2c3e2a103 100644
--- a/sc/source/ui/view/pivotsh.cxx
+++ b/sc/source/ui/view/pivotsh.cxx
@@ -95,12 +95,12 @@ void ScPivotShell::Execute( const SfxRequest& rReq )
ScViewData& rViewData = pViewShell->GetViewData();
SfxItemSetFixed<SCITEM_QUERYDATA, SCITEM_QUERYDATA> aArgSet( pViewShell->GetPool() );
- aArgSet.Put( ScQueryItem( SCITEM_QUERYDATA, &rViewData, &aQueryParam ) );
+ aArgSet.Put( ScQueryItem( SCITEM_QUERYDATA, &aQueryParam ) );
ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create();
ScopedVclPtr<AbstractScPivotFilterDlg> pDlg(pFact->CreateScPivotFilterDlg(
- pViewShell->GetFrameWeld(), aArgSet, nSrcTab));
+ pViewShell->GetFrameWeld(), aArgSet, rViewData, nSrcTab));
if( pDlg->Execute() == RET_OK )
{