diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-30 14:02:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-31 10:15:19 +0200 |
commit | 78bed16e17f5128d3523413255d95de85c0ebf36 (patch) | |
tree | c86cd7ccd9a42bac8fb09a1c44548568d7b6146d /svtools/source | |
parent | 0b40212c18bb3c518bf54e55b9060f908ed84ed1 (diff) |
drop last use of TransferableHelper::GetSystemClipboard
Change-Id: I405b0cac0db5f08aa2f9fb73927c4c21f0250988
Reviewed-on: https://gerrit.libreoffice.org/55076
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/misc/transfer.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx index 7f6d83dee5a7..49d08ef3d979 100644 --- a/svtools/source/misc/transfer.cxx +++ b/svtools/source/misc/transfer.cxx @@ -991,7 +991,6 @@ void TransferableHelper::StartDrag( vcl::Window* pWindow, sal_Int8 nDnDSourceAct } } - void TransferableHelper::ClearSelection( vcl::Window *pWindow ) { DBG_ASSERT( pWindow, "Window pointer is NULL" ); @@ -1001,17 +1000,6 @@ void TransferableHelper::ClearSelection( vcl::Window *pWindow ) xSelection->setContents( nullptr, nullptr ); } - -Reference< XClipboard> TransferableHelper::GetSystemClipboard() -{ - vcl::Window *pFocusWindow = Application::GetFocusWindow(); - - if( pFocusWindow ) - return pFocusWindow->GetClipboard(); - - return Reference< XClipboard > (); -} - namespace { class theTransferableHelperUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theTransferableHelperUnoTunnelId > {}; @@ -1022,7 +1010,6 @@ const Sequence< sal_Int8 >& TransferableHelper::getUnoTunnelId() return theTransferableHelperUnoTunnelId::get().getSeq(); } - class TransferableClipboardNotifier : public ::cppu::WeakImplHelper< XClipboardListener > { private: |