summaryrefslogtreecommitdiff
path: root/vcl/win/dtrans/source.cxx
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/source.cxx
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/source.cxx')
-rw-r--r--vcl/win/dtrans/source.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/dtrans/source.cxx b/vcl/win/dtrans/source.cxx
index d8143a3791c9..34471730bcd3 100644
--- a/vcl/win/dtrans/source.cxx
+++ b/vcl/win/dtrans/source.cxx
@@ -28,7 +28,7 @@
#include <process.h>
#include <memory>
-#include "source.hxx"
+#include <win/dnd_source.hxx>
#include "globals.hxx"
#include "sourcecontext.hxx"
#include "DtObjFactory.hxx"