summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dtrans/Library_dnd.mk5
-rw-r--r--dtrans/source/win32/dnd/sourcecontext.cxx5
2 files changed, 0 insertions, 10 deletions
diff --git a/dtrans/Library_dnd.mk b/dtrans/Library_dnd.mk
index 689bbe6303f4..9ce6c4439e05 100644
--- a/dtrans/Library_dnd.mk
+++ b/dtrans/Library_dnd.mk
@@ -32,7 +32,6 @@ $(eval $(call gb_Library_use_libraries,dnd,\
cppu \
cppuhelper \
sal \
- vcl \
$(gb_UWINAPI) \
))
@@ -49,10 +48,6 @@ $(eval $(call gb_Library_use_static_libraries,dnd,\
dtobj \
))
-$(eval $(call gb_Library_use_externals,dnd,\
- epoxy \
- ))
-
$(eval $(call gb_Library_add_exception_objects,dnd,\
dtrans/source/win32/dnd/dndentry \
dtrans/source/win32/dnd/globals \
diff --git a/dtrans/source/win32/dnd/sourcecontext.cxx b/dtrans/source/win32/dnd/sourcecontext.cxx
index ea90087d7193..08adfaaea0cb 100644
--- a/dtrans/source/win32/dnd/sourcecontext.cxx
+++ b/dtrans/source/win32/dnd/sourcecontext.cxx
@@ -19,9 +19,6 @@
#include <com/sun/star/datatransfer/dnd/DNDConstants.hpp>
-#include <epoxy/wgl.h>
-#include <vcl/opengl/OpenGLWrapper.hxx>
-
#include "sourcecontext.hxx"
using namespace com::sun::star::datatransfer::dnd;
@@ -74,8 +71,6 @@ void SAL_CALL SourceContext::transferablesFlavorsChanged( )
// Fires XDragSourceListener::dragDropEnd events.
void SourceContext::fire_dragDropEnd( bool success, sal_Int8 effect)
{
- if( OpenGLWrapper::isVCLOpenGLEnabled() )
- epoxy_handle_external_wglMakeCurrent();
DragSourceDropEvent e;