summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-01-12 16:25:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-01-13 18:13:51 +0000
commitd60722e29a0dde6282915188e5ff7e24890a14d3 (patch)
treef69b4c7e4b4abb44cbbfd3235a3136dff833a386 /include/vcl
parentd4d046bb9c5d17cdd432b362c38914cc7b0a75f1 (diff)
XUnoTunnel->dynamic_cast in TransferableHelper
which leads us to find that we can skip all the dynamic_cast'ing altogether in SwView_Impl Change-Id: I8914f78df6bfdd743df370c0017d5b8521863594 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145483 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/transfer.hxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/vcl/transfer.hxx b/include/vcl/transfer.hxx
index bd5999a82234..e460e9f9c155 100644
--- a/include/vcl/transfer.hxx
+++ b/include/vcl/transfer.hxx
@@ -29,7 +29,6 @@
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/frame/XTerminateListener.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/datatransfer/XTransferable2.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboard.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboardOwner.hpp>
@@ -130,8 +129,7 @@ struct ExecuteDropEvent
class VCL_DLLPUBLIC TransferableHelper : public cppu::WeakImplHelper< css::datatransfer::XTransferable2,
css::datatransfer::clipboard::XClipboardOwner,
- css::datatransfer::dnd::XDragSourceListener,
- css::lang::XUnoTunnel >
+ css::datatransfer::dnd::XDragSourceListener>
{
private:
@@ -265,12 +263,6 @@ public:
void StartDrag( vcl::Window* pWindow, sal_Int8 nDragSourceActions );
static void ClearPrimarySelection();
-
- static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId();
-
-public:
-
- virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& rId ) override;
};
struct TransferableDataHelper_Impl;