summaryrefslogtreecommitdiffstats
path: root/reportdesign
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-14 15:46:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-14 15:46:11 +0100
commitbde543032d44bf31dfe291995ce8cae3ab8d677a (patch)
treeda02a59022a0caf1a7db5965b164fc43dbe1e4a7 /reportdesign
parentthe context menu has only DELETE in it (diff)
downloadcore-bde543032d44bf31dfe291995ce8cae3ab8d677a.tar.gz
core-bde543032d44bf31dfe291995ce8cae3ab8d677a.zip
remove methods that were never called
Change-Id: I5a841e1cd2bcd2766e51bb5944b992b5de51c7b6
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/dlg/GroupsSorting.cxx39
1 files changed, 0 insertions, 39 deletions
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;