From bde543032d44bf31dfe291995ce8cae3ab8d677a Mon Sep 17 00:00:00 2001
From: Caolán McNamara <caolanm@redhat.com>
Date: Fri, 14 Apr 2017 15:46:11 +0100
Subject: remove methods that were never called

Change-Id: I5a841e1cd2bcd2766e51bb5944b992b5de51c7b6
---
 reportdesign/source/ui/dlg/GroupsSorting.cxx | 39 ----------------------------
 1 file changed, 39 deletions(-)

(limited to 'reportdesign')

diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx
index a471e7e15634..6bb15689d36c 100644
--- a/reportdesign/source/ui/dlg/GroupsSorting.cxx
+++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx
@@ -126,9 +126,6 @@ public:
     void        lateInit();
     bool    IsDeleteAllowed( );
     void        DeleteRows();
-    void        cut();
-    void        copy();
-    void        paste();
 
     sal_Int32   getGroupPosition(sal_Int32 _nRow) const { return _nRow != BROWSER_ENDOFSELECTION ? m_aGroupPositions[_nRow] : sal_Int32(NO_GROUP); }
 
@@ -798,42 +795,6 @@ void OFieldExpressionControl::DeleteRows()
     Invalidate();
 }
 
-
-void OFieldExpressionControl::cut()
-{
-    copy();
-    DeleteRows();
-}
-
-
-void OFieldExpressionControl::copy()
-{
-
-    // set to the right row and save it
-    m_pParent->SaveData( m_nDataPos );
-
-    uno::Sequence<uno::Any> aClipboardList = fillSelectedGroups();
-
-    if( aClipboardList.getLength() )
-    {
-        OGroupExchange* pData = new OGroupExchange(aClipboardList);
-        uno::Reference< css::datatransfer::XTransferable> xRef = pData;
-        pData->CopyToClipboard(GetParent());
-    }
-}
-
-
-void OFieldExpressionControl::paste()
-{
-    TransferableDataHelper aTransferData(TransferableDataHelper::CreateFromSystemClipboard(GetParent()));
-    if(aTransferData.HasFormat(OGroupExchange::getReportGroupId()))
-    {
-        if( m_nPasteEvent )
-            Application::RemoveUserEvent( m_nPasteEvent );
-        m_nPasteEvent = Application::PostUserEvent( LINK(this, OFieldExpressionControl, DelayedPaste), nullptr, true );
-    }
-}
-
 IMPL_LINK_NOARG( OFieldExpressionControl, DelayedPaste, void*, void )
 {
     m_nPasteEvent = nullptr;
-- 
cgit