summaryrefslogtreecommitdiff
path: root/vcl/win/dtrans/sourcecontext.hxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2022-01-06 14:16:53 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2022-01-07 05:04:14 +0100
commit031576105c21b2e0c2585a1236092487d5d193e2 (patch)
treed251ce32730f1aec80820b0d8b03207c6ef25da7 /vcl/win/dtrans/sourcecontext.hxx
parent32bf2040bfa9d76731fc7c679845eb3835dde8a3 (diff)
VCL move platform code from mouse.cxx into plugins
... by moving it into ImplCreate(DragSource|DropTarget). The existing Create* variant now checks for headless mode and the IsRunningUnitTest flag, before creating the platform variants. There are two small helpers to initialize either X11 or Ole based UNO DnD interace implementations. Unfortunatly Windows requires to move two dtrans header files, but at least any other changes are minimal. Change-Id: Id79459ad71a26243b1c9cb1fe38ab236b0ab8fa6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128049 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/win/dtrans/sourcecontext.hxx')
-rw-r--r--vcl/win/dtrans/sourcecontext.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/dtrans/sourcecontext.hxx b/vcl/win/dtrans/sourcecontext.hxx
index b6ed4a90c906..4471747956e5 100644
--- a/vcl/win/dtrans/sourcecontext.hxx
+++ b/vcl/win/dtrans/sourcecontext.hxx
@@ -22,7 +22,7 @@
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/basemutex.hxx>
-#include "source.hxx"
+#include <win/dnd_source.hxx>
using namespace ::com::sun::star::datatransfer;
using namespace ::com::sun::star::datatransfer::dnd;