summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-12 16:46:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-13 09:40:47 +0200
commitbbfe78c4bfb8e7d0e53c171ed9616a8f32240358 (patch)
tree9bc81144ee97e7b78cba1002fe2a9a4c696fb151 /sc
parenta3bedb7ae8f23476843e00380aba05002aa1e827 (diff)
This SfxItemSet appears to be unused
Change-Id: Ib9a48e48ceda4d85f6ecca7e2bb436e8aa99d56b Reviewed-on: https://gerrit.libreoffice.org/38703 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/cellsh2.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index 91b5c5effe12..3c6eec7a0b20 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -360,7 +360,6 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
if( lcl_GetSortParam( pData, aSortParam ) )
{
- SfxItemSet aArgSet( GetPool(), SCITEM_SORTDATA, SCITEM_SORTDATA );
SCCOL nCol = GetViewData()->GetCurX();
SCCOL nTab = GetViewData()->GetTabNo();
ScDocument* pDoc = GetViewData()->GetDocument();
@@ -387,8 +386,6 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
for ( sal_uInt16 i=1; i<aSortParam.GetSortKeyCount(); i++ )
aSortParam.maKeyState[i].bDoSort = false;
- aArgSet.Put( ScSortItem( SCITEM_SORTDATA, GetViewData(), &aSortParam ) );
-
pTabViewShell->UISort( aSortParam ); // subtotal when needed new
rReq.Done();