summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
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();