[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Tue Jun 13 07:41:09 UTC 2017


 sc/source/ui/view/cellsh2.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit bbfe78c4bfb8e7d0e53c171ed9616a8f32240358
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jun 12 16:46:50 2017 +0200

    This SfxItemSet appears to be unused
    
    Change-Id: Ib9a48e48ceda4d85f6ecca7e2bb436e8aa99d56b
    Reviewed-on: https://gerrit.libreoffice.org/38703
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Jenkins <ci at libreoffice.org>

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();


More information about the Libreoffice-commits mailing list