diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2020-09-22 13:23:00 +0200 |
---|---|---|
committer | Balazs Varga <balazs.varga.extern@allotropia.de> | 2022-11-24 12:25:05 +0100 |
commit | 06d0b2b32ad2e5aff718a87c2acc59021139c9b5 (patch) | |
tree | 46d939019b06520aae5a5d0415d67bb56967aa11 | |
parent | 838a106c1c1debf95345cf15f246d0e0bf0eda0e (diff) |
WIN move dtrans code into vcl/win/dtrans
There is nothing abstract about either the clipboard or data
transfer code in that directory and it's just used on Windows.
All other backends implement this code in VCL, so this moves
almost all code, except for the common MimeContentTypeFactory,
into the vcl Windows backend / vclplug_win.
This also drops four DLLs: sysdtrans, dnd, dtrans and ftransl.
Change-Id: I7018f50768bf221447b40487cc1f8a8586da33c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103209
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143174
Tested-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
-rw-r--r-- | Repository.mk | 4 | ||||
-rw-r--r-- | dtrans/Library_dnd.mk | 60 | ||||
-rw-r--r-- | dtrans/Library_dtrans.mk | 37 | ||||
-rw-r--r-- | dtrans/Library_ftransl.mk | 52 | ||||
-rw-r--r-- | dtrans/Library_sysdtrans.mk | 52 | ||||
-rw-r--r-- | dtrans/Module_dtrans.mk | 10 | ||||
-rw-r--r-- | dtrans/README | 4 | ||||
-rw-r--r-- | dtrans/StaticLibrary_dtobj.mk | 44 | ||||
-rw-r--r-- | dtrans/source/win32/clipb/APNDataObject.hxx | 72 | ||||
-rw-r--r-- | dtrans/util/dnd.component | 30 | ||||
-rw-r--r-- | dtrans/util/ftransl.component | 26 | ||||
-rw-r--r-- | dtrans/util/sysdtrans.component | 26 | ||||
-rw-r--r-- | postprocess/Rdb_services.mk | 5 | ||||
-rw-r--r-- | solenv/clang-format/blacklist | 140 | ||||
-rw-r--r-- | starmath/CppunitTest_starmath_qa_cppunit.mk | 8 | ||||
-rw-r--r-- | vcl/Library_vclplug_win.mk | 35 | ||||
-rw-r--r-- | vcl/vclplug_win.component (renamed from dtrans/source/generic/dtrans.component) | 22 | ||||
-rw-r--r-- | vcl/win/dtrans/APNDataObject.cxx (renamed from dtrans/source/win32/dtobj/APNDataObject.cxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/APNDataObject.hxx (renamed from dtrans/source/win32/dtobj/APNDataObject.hxx) | 5 | ||||
-rw-r--r-- | vcl/win/dtrans/DOTransferable.cxx (renamed from dtrans/source/win32/dtobj/DOTransferable.cxx) | 4 | ||||
-rw-r--r-- | vcl/win/dtrans/DOTransferable.hxx (renamed from dtrans/source/win32/dtobj/DOTransferable.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/DTransHelper.cxx (renamed from dtrans/source/win32/dtobj/DTransHelper.cxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/DTransHelper.hxx (renamed from dtrans/source/win32/dtobj/DTransHelper.hxx) | 2 | ||||
-rw-r--r-- | vcl/win/dtrans/DataFmtTransl.cxx (renamed from dtrans/source/win32/dtobj/DataFmtTransl.cxx) | 4 | ||||
-rw-r--r-- | vcl/win/dtrans/DataFmtTransl.hxx (renamed from dtrans/source/win32/dtobj/DataFmtTransl.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/DtObjFactory.cxx (renamed from dtrans/source/win32/dtobj/DtObjFactory.cxx) | 3 | ||||
-rw-r--r-- | vcl/win/dtrans/DtObjFactory.hxx (renamed from dtrans/source/inc/DtObjFactory.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/Fetc.cxx (renamed from dtrans/source/win32/dtobj/Fetc.cxx) | 2 | ||||
-rw-r--r-- | vcl/win/dtrans/Fetc.hxx (renamed from dtrans/source/win32/dtobj/Fetc.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/FetcList.cxx (renamed from dtrans/source/win32/dtobj/FetcList.cxx) | 4 | ||||
-rw-r--r-- | vcl/win/dtrans/FetcList.hxx (renamed from dtrans/source/win32/dtobj/FetcList.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/FmtFilter.cxx (renamed from dtrans/source/win32/dtobj/FmtFilter.cxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/FmtFilter.hxx (renamed from dtrans/source/win32/dtobj/FmtFilter.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/ImplHelper.cxx (renamed from dtrans/source/win32/misc/ImplHelper.cxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/ImplHelper.hxx (renamed from dtrans/source/win32/misc/ImplHelper.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/MimeAttrib.hxx (renamed from dtrans/source/win32/dtobj/MimeAttrib.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/MtaOleClipb.cxx (renamed from dtrans/source/win32/clipb/MtaOleClipb.cxx) | 15 | ||||
-rw-r--r-- | vcl/win/dtrans/MtaOleClipb.hxx (renamed from dtrans/source/win32/clipb/MtaOleClipb.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/TxtCnvtHlp.cxx (renamed from dtrans/source/win32/dtobj/TxtCnvtHlp.cxx) | 3 | ||||
-rw-r--r-- | vcl/win/dtrans/TxtCnvtHlp.hxx (renamed from dtrans/source/win32/dtobj/TxtCnvtHlp.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/WinClip.hxx (renamed from dtrans/source/inc/WinClip.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/WinClipbImpl.cxx (renamed from dtrans/source/win32/clipb/WinClipbImpl.cxx) | 8 | ||||
-rw-r--r-- | vcl/win/dtrans/WinClipbImpl.hxx (renamed from dtrans/source/win32/clipb/WinClipbImpl.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/WinClipboard.cxx (renamed from dtrans/source/win32/clipb/WinClipboard.cxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/WinClipboard.hxx (renamed from dtrans/source/win32/clipb/WinClipboard.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/XNotifyingDataObject.cxx (renamed from dtrans/source/win32/dtobj/XNotifyingDataObject.cxx) | 4 | ||||
-rw-r--r-- | vcl/win/dtrans/XNotifyingDataObject.hxx (renamed from dtrans/source/win32/dtobj/XNotifyingDataObject.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/XTDataObject.cxx (renamed from dtrans/source/win32/dtobj/XTDataObject.cxx) | 2 | ||||
-rw-r--r-- | vcl/win/dtrans/XTDataObject.hxx (renamed from dtrans/source/win32/dtobj/XTDataObject.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/clipboardmanager.cxx (renamed from dtrans/source/generic/clipboardmanager.cxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/clipboardmanager.hxx (renamed from dtrans/source/generic/clipboardmanager.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/ftransl.cxx (renamed from dtrans/source/win32/ftransl/ftransl.cxx) | 2 | ||||
-rw-r--r-- | vcl/win/dtrans/ftransl.hxx (renamed from dtrans/source/win32/ftransl/ftransl.hxx) | 2 | ||||
-rw-r--r-- | vcl/win/dtrans/generic_clipboard.cxx (renamed from dtrans/source/generic/generic_clipboard.cxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/generic_clipboard.hxx (renamed from dtrans/source/generic/generic_clipboard.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/globals.cxx (renamed from dtrans/source/win32/dnd/globals.cxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/globals.hxx (renamed from dtrans/source/win32/dnd/globals.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/idroptarget.cxx (renamed from dtrans/source/win32/dnd/idroptarget.cxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/idroptarget.hxx (renamed from dtrans/source/win32/dnd/idroptarget.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/source.cxx (renamed from dtrans/source/win32/dnd/source.cxx) | 3 | ||||
-rw-r--r-- | vcl/win/dtrans/source.hxx (renamed from dtrans/source/win32/dnd/source.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/sourcecontext.cxx (renamed from dtrans/source/win32/dnd/sourcecontext.cxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/sourcecontext.hxx (renamed from dtrans/source/win32/dnd/sourcecontext.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/target.cxx (renamed from dtrans/source/win32/dnd/target.cxx) | 2 | ||||
-rw-r--r-- | vcl/win/dtrans/target.hxx (renamed from dtrans/source/win32/dnd/target.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/targetdragcontext.cxx (renamed from dtrans/source/win32/dnd/targetdragcontext.cxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/targetdragcontext.hxx (renamed from dtrans/source/win32/dnd/targetdragcontext.hxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/targetdropcontext.cxx (renamed from dtrans/source/win32/dnd/targetdropcontext.cxx) | 0 | ||||
-rw-r--r-- | vcl/win/dtrans/targetdropcontext.hxx (renamed from dtrans/source/win32/dnd/targetdropcontext.hxx) | 0 | ||||
-rw-r--r-- | vcl/workben/dtrans/makefile.mk (renamed from dtrans/source/test/makefile.mk) | 0 | ||||
-rw-r--r-- | vcl/workben/dtrans/test_dtrans.cxx (renamed from dtrans/source/test/test_dtrans.cxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dnd/atlwindow.cxx (renamed from dtrans/test/win32/dnd/atlwindow.cxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dnd/atlwindow.hxx (renamed from dtrans/test/win32/dnd/atlwindow.hxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dnd/dndTest.cxx (renamed from dtrans/test/win32/dnd/dndTest.cxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dnd/makefile.mk (renamed from dtrans/test/win32/dnd/makefile.mk) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dnd/sourcelistener.cxx (renamed from dtrans/test/win32/dnd/sourcelistener.cxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dnd/sourcelistener.hxx (renamed from dtrans/test/win32/dnd/sourcelistener.hxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dnd/targetlistener.cxx (renamed from dtrans/test/win32/dnd/targetlistener.cxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dnd/targetlistener.hxx (renamed from dtrans/test/win32/dnd/targetlistener.hxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dnd/transferable.cxx (renamed from dtrans/test/win32/dnd/transferable.cxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dnd/transferable.hxx (renamed from dtrans/test/win32/dnd/transferable.hxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dtrans/XTDo.cxx (renamed from dtrans/source/win32/workbench/XTDo.cxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dtrans/XTDo.hxx (renamed from dtrans/source/win32/workbench/XTDo.hxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dtrans/makefile.mk (renamed from dtrans/source/win32/workbench/makefile.mk) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dtrans/test_wincb.cxx (renamed from dtrans/source/win32/workbench/test_wincb.cxx) | 0 | ||||
-rw-r--r-- | vcl/workben/win/dtrans/testmarshal.cxx (renamed from dtrans/source/win32/workbench/testmarshal.cxx) | 0 |
86 files changed, 163 insertions, 529 deletions
diff --git a/Repository.mk b/Repository.mk index 6d468833eaf6..8175a7ceb8f5 100644 --- a/Repository.mk +++ b/Repository.mk @@ -619,7 +619,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \ sdbc2 \ sofficeapp \ srtrs1 \ - $(if $(filter $(OS),WNT),sysdtrans) \ textconv_dict \ ucb1 \ ucbhelper \ @@ -638,10 +637,7 @@ $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \ macabdrv1 \ ) \ $(if $(filter WNT,$(OS)), \ - dnd \ - dtrans \ fps \ - ftransl \ inprocserv \ UAccCOM \ winaccessibility \ diff --git a/dtrans/Library_dnd.mk b/dtrans/Library_dnd.mk deleted file mode 100644 index 930b552827e1..000000000000 --- a/dtrans/Library_dnd.mk +++ /dev/null @@ -1,60 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This file incorporates work covered by the following license notice: -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed -# with this work for additional information regarding copyright -# ownership. The ASF licenses this file to you under the Apache -# License, Version 2.0 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.apache.org/licenses/LICENSE-2.0 . -# - -$(eval $(call gb_Library_Library,dnd)) - -$(eval $(call gb_Library_set_componentfile,dnd,dtrans/util/dnd)) - -$(eval $(call gb_Library_use_externals,dnd, \ - boost_headers \ -)) - -$(eval $(call gb_Library_use_sdk_api,dnd)) - -$(eval $(call gb_Library_use_libraries,dnd,\ - comphelper \ - cppu \ - cppuhelper \ - sal \ -)) - -$(eval $(call gb_Library_use_system_win32_libs,dnd,\ - advapi32 \ - gdi32 \ - ole32 \ - oleaut32 \ - shell32 \ - uuid \ -)) - -$(eval $(call gb_Library_use_static_libraries,dnd,\ - dtobj \ -)) - -$(eval $(call gb_Library_add_exception_objects,dnd,\ - dtrans/source/win32/dnd/globals \ - dtrans/source/win32/dnd/idroptarget \ - dtrans/source/win32/dnd/sourcecontext \ - dtrans/source/win32/dnd/source \ - dtrans/source/win32/dnd/target \ - dtrans/source/win32/dnd/targetdragcontext \ - dtrans/source/win32/dnd/targetdropcontext \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/dtrans/Library_dtrans.mk b/dtrans/Library_dtrans.mk deleted file mode 100644 index e70d7215436b..000000000000 --- a/dtrans/Library_dtrans.mk +++ /dev/null @@ -1,37 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This file incorporates work covered by the following license notice: -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed -# with this work for additional information regarding copyright -# ownership. The ASF licenses this file to you under the Apache -# License, Version 2.0 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.apache.org/licenses/LICENSE-2.0 . -# - -$(eval $(call gb_Library_Library,dtrans)) - -$(eval $(call gb_Library_set_componentfile,dtrans,dtrans/source/generic/dtrans)) - -$(eval $(call gb_Library_use_sdk_api,dtrans)) - -$(eval $(call gb_Library_use_libraries,dtrans,\ - cppu \ - cppuhelper \ - sal \ -)) - -$(eval $(call gb_Library_add_exception_objects,dtrans,\ - dtrans/source/generic/clipboardmanager \ - dtrans/source/generic/generic_clipboard \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/dtrans/Library_ftransl.mk b/dtrans/Library_ftransl.mk deleted file mode 100644 index f418af318d3f..000000000000 --- a/dtrans/Library_ftransl.mk +++ /dev/null @@ -1,52 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This file incorporates work covered by the following license notice: -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed -# with this work for additional information regarding copyright -# ownership. The ASF licenses this file to you under the Apache -# License, Version 2.0 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.apache.org/licenses/LICENSE-2.0 . -# - -$(eval $(call gb_Library_Library,ftransl)) - -$(eval $(call gb_Library_set_componentfile,ftransl,dtrans/util/ftransl)) - -$(eval $(call gb_Library_use_sdk_api,ftransl)) - -$(eval $(call gb_Library_use_libraries,ftransl,\ - comphelper \ - cppu \ - cppuhelper \ - sal \ -)) - -$(eval $(call gb_Library_use_system_win32_libs,ftransl,\ - advapi32 \ - gdi32 \ - ole32 \ -)) - -$(eval $(call gb_Library_use_static_libraries,ftransl,\ - dtobj \ -)) - -$(eval $(call gb_Library_add_exception_objects,ftransl,\ - dtrans/source/win32/ftransl/ftransl \ -)) - -$(eval $(call gb_Library_set_include,ftransl,\ - -I$(SRCDIR)/dtrans/source/inc \ - $$(INCLUDE) \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/dtrans/Library_sysdtrans.mk b/dtrans/Library_sysdtrans.mk deleted file mode 100644 index 8781e7f2d9bb..000000000000 --- a/dtrans/Library_sysdtrans.mk +++ /dev/null @@ -1,52 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This file incorporates work covered by the following license notice: -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed -# with this work for additional information regarding copyright -# ownership. The ASF licenses this file to you under the Apache -# License, Version 2.0 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.apache.org/licenses/LICENSE-2.0 . -# - -$(eval $(call gb_Library_Library,sysdtrans)) - -$(eval $(call gb_Library_set_componentfile,sysdtrans,dtrans/util/sysdtrans)) - -$(eval $(call gb_Library_use_sdk_api,sysdtrans)) - -$(eval $(call gb_Library_use_libraries,sysdtrans,\ - comphelper \ - cppu \ - cppuhelper \ - sal \ -)) - -$(eval $(call gb_Library_use_system_win32_libs,sysdtrans,\ - advapi32 \ - gdi32 \ - ole32 \ - oleaut32 \ - shell32 \ - uuid \ -)) - -$(eval $(call gb_Library_use_static_libraries,sysdtrans,\ - dtobj \ -)) - -$(eval $(call gb_Library_add_exception_objects,sysdtrans,\ - dtrans/source/win32/clipb/WinClipbImpl \ - dtrans/source/win32/clipb/WinClipboard \ - dtrans/source/win32/clipb/MtaOleClipb \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/dtrans/Module_dtrans.mk b/dtrans/Module_dtrans.mk index 2ddc6f48a925..f583c41e88bb 100644 --- a/dtrans/Module_dtrans.mk +++ b/dtrans/Module_dtrans.mk @@ -23,14 +23,4 @@ $(eval $(call gb_Module_add_targets,dtrans,\ Library_mcnttype \ )) -ifeq ($(OS),WNT) -$(eval $(call gb_Module_add_targets,dtrans,\ - Library_dnd \ - Library_dtrans \ - Library_ftransl \ - Library_sysdtrans \ - StaticLibrary_dtobj \ -)) -endif - # vim: set noet sw=4 ts=4: diff --git a/dtrans/README b/dtrans/README index 23555bce65aa..73aca8b6e496 100644 --- a/dtrans/README +++ b/dtrans/README @@ -1 +1,3 @@ -Clipboard abstraction - data transfer. +Used to be a module for data transfer, but just contained Windows code. +Now it just contains the MimeContentTypeFactory, which probably should move to +vcl too, since it's just used there. diff --git a/dtrans/StaticLibrary_dtobj.mk b/dtrans/StaticLibrary_dtobj.mk deleted file mode 100644 index 04ed1c53249f..000000000000 --- a/dtrans/StaticLibrary_dtobj.mk +++ /dev/null @@ -1,44 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This file incorporates work covered by the following license notice: -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed -# with this work for additional information regarding copyright -# ownership. The ASF licenses this file to you under the Apache -# License, Version 2.0 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.apache.org/licenses/LICENSE-2.0 . -# - -$(eval $(call gb_StaticLibrary_StaticLibrary,dtobj)) - -$(eval $(call gb_StaticLibrary_use_sdk_api,dtobj)) - -$(eval $(call gb_StaticLibrary_add_exception_objects,dtobj,\ - dtrans/source/win32/dtobj/APNDataObject \ - dtrans/source/win32/dtobj/DataFmtTransl \ - dtrans/source/win32/dtobj/DOTransferable \ - dtrans/source/win32/dtobj/DtObjFactory \ - dtrans/source/win32/dtobj/DTransHelper \ - dtrans/source/win32/dtobj/Fetc \ - dtrans/source/win32/dtobj/FetcList \ - dtrans/source/win32/dtobj/FmtFilter \ - dtrans/source/win32/dtobj/TxtCnvtHlp \ - dtrans/source/win32/dtobj/XNotifyingDataObject \ - dtrans/source/win32/dtobj/XTDataObject \ - dtrans/source/win32/misc/ImplHelper \ -)) - -$(eval $(call gb_StaticLibrary_set_include,dtobj,\ - -I$(SRCDIR)/dtrans/source/inc \ - $$(INCLUDE) \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/dtrans/source/win32/clipb/APNDataObject.hxx b/dtrans/source/win32/clipb/APNDataObject.hxx deleted file mode 100644 index c48d14117ef7..000000000000 --- a/dtrans/source/win32/clipb/APNDataObject.hxx +++ /dev/null @@ -1,72 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef INCLUDED_DTRANS_SOURCE_WIN32_CLIPB_APNDATAOBJECT_HXX -#define INCLUDED_DTRANS_SOURCE_WIN32_CLIPB_APNDATAOBJECT_HXX - -/* - an APartment Neutral dataobject wrapper; this wrapper of an IDataObject - pointer can be used from any apartment without RPC_E_WRONG_THREAD - which normally occurs if an apartment tries to use an interface - pointer of another apartment; we use containment to hold the original - DataObject -*/ -class CAPNDataObject : public IDataObject -{ -public: - CAPNDataObject( IDataObjectPtr rIDataObject ); - ~CAPNDataObject( ); - - //IUnknown interface methods - - STDMETHODIMP QueryInterface(REFIID iid, LPVOID* ppvObject); - STDMETHODIMP_( ULONG ) AddRef( ); - STDMETHODIMP_( ULONG ) Release( ); - - // IDataObject interface methods - - STDMETHODIMP GetData( LPFORMATETC pFormatetc, LPSTGMEDIUM pmedium ); - STDMETHODIMP GetDataHere( LPFORMATETC pFormatetc, LPSTGMEDIUM pmedium ); - STDMETHODIMP QueryGetData( LPFORMATETC pFormatetc ); - STDMETHODIMP GetCanonicalFormatEtc( LPFORMATETC pFormatectIn, LPFORMATETC pFormatetcOut ); - STDMETHODIMP SetData( LPFORMATETC pFormatetc, LPSTGMEDIUM pmedium, BOOL fRelease ); - STDMETHODIMP EnumFormatEtc( DWORD dwDirection, IEnumFORMATETC** ppenumFormatetc ); - STDMETHODIMP DAdvise( LPFORMATETC pFormatetc, DWORD advf, LPADVISESINK pAdvSink, DWORD* pdwConnection ); - STDMETHODIMP DUnadvise( DWORD dwConnection ); - STDMETHODIMP EnumDAdvise( LPENUMSTATDATA* ppenumAdvise ); - - operator IDataObject*( ); - -private: - HRESULT MarshalIDataObjectIntoCurrentApartment( IDataObject** ppIDataObj ); - -private: - IDataObjectPtr m_rIDataObjectOrg; - HGLOBAL m_hGlobal; - LONG m_nRefCnt; - -// prevent copy and assignment -private: - CAPNDataObject( const CAPNDataObject& theOther ); - CAPNDataObject& operator=( const CAPNDataObject& theOther ); -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dtrans/util/dnd.component b/dtrans/util/dnd.component deleted file mode 100644 index 8a3f5feebbb2..000000000000 --- a/dtrans/util/dnd.component +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - --> - -<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@" - xmlns="http://openoffice.org/2010/uno-components"> - <implementation name="com.sun.star.comp.datatransfer.dnd.OleDragSource_V1" - constructor="dtrans_DragSource_get_implementation"> - <service name="com.sun.star.datatransfer.dnd.OleDragSource"/> - </implementation> - <implementation name="com.sun.star.comp.datatransfer.dnd.OleDropTarget_V1" - constructor="dtrans_DropTarget_get_implementation"> - <service name="com.sun.star.datatransfer.dnd.OleDropTarget"/> - </implementation> -</component> diff --git a/dtrans/util/ftransl.component b/dtrans/util/ftransl.component deleted file mode 100644 index e97a897f7437..000000000000 --- a/dtrans/util/ftransl.component +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - --> - -<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@" - xmlns="http://openoffice.org/2010/uno-components"> - <implementation name="com.sun.star.datatransfer.DataFormatTranslator" - constructor="dtrans_CDataFormatTranslatorUNO_get_implementation"> - <service name="com.sun.star.datatransfer.DataFormatTranslator"/> - </implementation> -</component> diff --git a/dtrans/util/sysdtrans.component b/dtrans/util/sysdtrans.component deleted file mode 100644 index 263b1417258e..000000000000 --- a/dtrans/util/sysdtrans.component +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - --> - -<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@" - xmlns="http://openoffice.org/2010/uno-components"> - <implementation name="com.sun.star.datatransfer.clipboard.ClipboardW32" - constructor="dtrans_CWinClipboard_get_implementation"> - <service name="com.sun.star.datatransfer.clipboard.SystemClipboard"/> - </implementation> -</component> diff --git a/postprocess/Rdb_services.mk b/postprocess/Rdb_services.mk index f8c5047de79f..9c0f8f553362 100644 --- a/postprocess/Rdb_services.mk +++ b/postprocess/Rdb_services.mk @@ -140,15 +140,12 @@ $(eval $(call gb_Rdb_add_components,services,\ ) \ $(if $(filter WNT,$(OS)), \ avmedia/source/win/avmediawin \ - dtrans/source/generic/dtrans \ - dtrans/util/dnd \ - dtrans/util/ftransl \ - dtrans/util/sysdtrans \ fpicker/source/win32/fps \ shell/source/backends/wininetbe/wininetbe1 \ shell/source/win32/simplemail/smplmail \ shell/source/win32/syssh \ vcl/vcl.windows \ + vcl/vclplug_win \ ) \ $(if $(DISABLE_GUI), \ vcl/vcl.headless \ diff --git a/solenv/clang-format/blacklist b/solenv/clang-format/blacklist index 089582dd6dae..57ff18204d53 100644 --- a/solenv/clang-format/blacklist +++ b/solenv/clang-format/blacklist @@ -3885,77 +3885,6 @@ dtrans/source/cnttype/mcnttype.cxx dtrans/source/cnttype/mcnttype.hxx dtrans/source/cnttype/mctfentry.cxx dtrans/source/cnttype/wbench/testcnttype.cxx -dtrans/source/generic/clipboardmanager.cxx -dtrans/source/generic/clipboardmanager.hxx -dtrans/source/generic/dtrans.cxx -dtrans/source/generic/generic_clipboard.cxx -dtrans/source/generic/generic_clipboard.hxx -dtrans/source/inc/DtObjFactory.hxx -dtrans/source/inc/WinClip.hxx -dtrans/source/test/test_dtrans.cxx -dtrans/source/win32/clipb/APNDataObject.hxx -dtrans/source/win32/clipb/MtaOleClipb.cxx -dtrans/source/win32/clipb/MtaOleClipb.hxx -dtrans/source/win32/clipb/WinClipbImpl.cxx -dtrans/source/win32/clipb/WinClipbImpl.hxx -dtrans/source/win32/clipb/WinClipboard.cxx -dtrans/source/win32/clipb/WinClipboard.hxx -dtrans/source/win32/clipb/wcbentry.cxx -dtrans/source/win32/dnd/dndentry.cxx -dtrans/source/win32/dnd/globals.cxx -dtrans/source/win32/dnd/globals.hxx -dtrans/source/win32/dnd/idroptarget.cxx -dtrans/source/win32/dnd/idroptarget.hxx -dtrans/source/win32/dnd/source.cxx -dtrans/source/win32/dnd/source.hxx -dtrans/source/win32/dnd/sourcecontext.cxx -dtrans/source/win32/dnd/sourcecontext.hxx -dtrans/source/win32/dnd/target.cxx -dtrans/source/win32/dnd/target.hxx -dtrans/source/win32/dnd/targetdragcontext.cxx -dtrans/source/win32/dnd/targetdragcontext.hxx -dtrans/source/win32/dnd/targetdropcontext.cxx -dtrans/source/win32/dnd/targetdropcontext.hxx -dtrans/source/win32/dtobj/APNDataObject.cxx -dtrans/source/win32/dtobj/APNDataObject.hxx -dtrans/source/win32/dtobj/DOTransferable.cxx -dtrans/source/win32/dtobj/DOTransferable.hxx -dtrans/source/win32/dtobj/DTransHelper.cxx -dtrans/source/win32/dtobj/DTransHelper.hxx -dtrans/source/win32/dtobj/DataFmtTransl.cxx -dtrans/source/win32/dtobj/DataFmtTransl.hxx -dtrans/source/win32/dtobj/DtObjFactory.cxx -dtrans/source/win32/dtobj/Fetc.cxx -dtrans/source/win32/dtobj/Fetc.hxx -dtrans/source/win32/dtobj/FetcList.cxx -dtrans/source/win32/dtobj/FetcList.hxx -dtrans/source/win32/dtobj/FmtFilter.cxx -dtrans/source/win32/dtobj/FmtFilter.hxx -dtrans/source/win32/dtobj/MimeAttrib.hxx -dtrans/source/win32/dtobj/TxtCnvtHlp.cxx -dtrans/source/win32/dtobj/TxtCnvtHlp.hxx -dtrans/source/win32/dtobj/XNotifyingDataObject.cxx -dtrans/source/win32/dtobj/XNotifyingDataObject.hxx -dtrans/source/win32/dtobj/XTDataObject.cxx -dtrans/source/win32/dtobj/XTDataObject.hxx -dtrans/source/win32/ftransl/ftransl.cxx -dtrans/source/win32/ftransl/ftransl.hxx -dtrans/source/win32/ftransl/ftranslentry.cxx -dtrans/source/win32/misc/ImplHelper.cxx -dtrans/source/win32/misc/ImplHelper.hxx -dtrans/source/win32/workbench/XTDo.cxx -dtrans/source/win32/workbench/XTDo.hxx -dtrans/source/win32/workbench/test_wincb.cxx -dtrans/source/win32/workbench/testmarshal.cxx -dtrans/test/win32/dnd/atlwindow.cxx -dtrans/test/win32/dnd/atlwindow.hxx -dtrans/test/win32/dnd/dndTest.cxx -dtrans/test/win32/dnd/sourcelistener.cxx -dtrans/test/win32/dnd/sourcelistener.hxx -dtrans/test/win32/dnd/targetlistener.cxx -dtrans/test/win32/dnd/targetlistener.hxx -dtrans/test/win32/dnd/transferable.cxx -dtrans/test/win32/dnd/transferable.hxx editeng/inc/editattr.hxx editeng/inc/editdoc.hxx editeng/inc/editeng.hxx @@ -18169,6 +18098,61 @@ vcl/win/app/salinfo.cxx vcl/win/app/salinst.cxx vcl/win/app/salshl.cxx vcl/win/app/saltimer.cxx +vcl/win/dtrans/APNDataObject.cxx +vcl/win/dtrans/APNDataObject.hxx +vcl/win/dtrans/clipboardmanager.cxx +vcl/win/dtrans/clipboardmanager.hxx +vcl/win/dtrans/DataFmtTransl.cxx +vcl/win/dtrans/DataFmtTransl.hxx +vcl/win/dtrans/dndentry.cxx +vcl/win/dtrans/DOTransferable.cxx +vcl/win/dtrans/DOTransferable.hxx +vcl/win/dtrans/DtObjFactory.cxx +vcl/win/dtrans/DtObjFactory.hxx +vcl/win/dtrans/dtrans.cxx +vcl/win/dtrans/DTransHelper.cxx +vcl/win/dtrans/DTransHelper.hxx +vcl/win/dtrans/Fetc.cxx +vcl/win/dtrans/Fetc.hxx +vcl/win/dtrans/FetcList.cxx +vcl/win/dtrans/FetcList.hxx +vcl/win/dtrans/FmtFilter.cxx +vcl/win/dtrans/FmtFilter.hxx +vcl/win/dtrans/ftransl.cxx +vcl/win/dtrans/ftranslentry.cxx +vcl/win/dtrans/ftransl.hxx +vcl/win/dtrans/generic_clipboard.cxx +vcl/win/dtrans/generic_clipboard.hxx +vcl/win/dtrans/globals.cxx +vcl/win/dtrans/globals.hxx +vcl/win/dtrans/idroptarget.cxx +vcl/win/dtrans/idroptarget.hxx +vcl/win/dtrans/ImplHelper.cxx +vcl/win/dtrans/ImplHelper.hxx +vcl/win/dtrans/MimeAttrib.hxx +vcl/win/dtrans/MtaOleClipb.cxx +vcl/win/dtrans/MtaOleClipb.hxx +vcl/win/dtrans/sourcecontext.cxx +vcl/win/dtrans/sourcecontext.hxx +vcl/win/dtrans/source.cxx +vcl/win/dtrans/source.hxx +vcl/win/dtrans/target.cxx +vcl/win/dtrans/targetdragcontext.cxx +vcl/win/dtrans/targetdragcontext.hxx +vcl/win/dtrans/targetdropcontext.cxx +vcl/win/dtrans/targetdropcontext.hxx +vcl/win/dtrans/target.hxx +vcl/win/dtrans/TxtCnvtHlp.cxx +vcl/win/dtrans/TxtCnvtHlp.hxx +vcl/win/dtrans/wcbentry.cxx +vcl/win/dtrans/WinClipbImpl.cxx +vcl/win/dtrans/WinClipbImpl.hxx +vcl/win/dtrans/WinClipboard.cxx +vcl/win/dtrans/WinClipboard.hxx +vcl/win/dtrans/XNotifyingDataObject.cxx +vcl/win/dtrans/XNotifyingDataObject.hxx +vcl/win/dtrans/XTDataObject.cxx +vcl/win/dtrans/XTDataObject.hxx vcl/win/gdi/DWriteTextRenderer.cxx vcl/win/gdi/gdiimpl.cxx vcl/win/gdi/gdiimpl.hxx @@ -18190,6 +18174,7 @@ vcl/workben/bmpfuzzer.cxx vcl/workben/cgmfuzzer.cxx vcl/workben/commonfuzzer.hxx vcl/workben/docxfuzzer.cxx +vcl/workben/dtrans/test_dtrans.cxx vcl/workben/dxffuzzer.cxx vcl/workben/epsfuzzer.cxx vcl/workben/fftester.cxx @@ -18243,6 +18228,19 @@ vcl/workben/svptest.cxx vcl/workben/tgafuzzer.cxx vcl/workben/tiffuzzer.cxx vcl/workben/vcldemo.cxx +vcl/workben/win/dnd/atlwindow.cxx +vcl/workben/win/dnd/atlwindow.hxx +vcl/workben/win/dnd/dndTest.cxx +vcl/workben/win/dnd/sourcelistener.cxx +vcl/workben/win/dnd/sourcelistener.hxx +vcl/workben/win/dnd/targetlistener.cxx +vcl/workben/win/dnd/targetlistener.hxx +vcl/workben/win/dnd/transferable.cxx +vcl/workben/win/dnd/transferable.hxx +vcl/workben/win/dtrans/testmarshal.cxx +vcl/workben/win/dtrans/test_wincb.cxx +vcl/workben/win/dtrans/XTDo.cxx +vcl/workben/win/dtrans/XTDo.hxx vcl/workben/wmffuzzer.cxx vcl/workben/ww2fuzzer.cxx vcl/workben/ww6fuzzer.cxx diff --git a/starmath/CppunitTest_starmath_qa_cppunit.mk b/starmath/CppunitTest_starmath_qa_cppunit.mk index ee436749f95a..41e65c499010 100644 --- a/starmath/CppunitTest_starmath_qa_cppunit.mk +++ b/starmath/CppunitTest_starmath_qa_cppunit.mk @@ -76,15 +76,9 @@ $(eval $(call gb_CppunitTest_use_components,starmath_qa_cppunit,\ ucb/source/core/ucb1 \ ucb/source/ucp/file/ucpfile1 \ unotools/util/utl \ + vcl/vcl.common \ )) -ifeq ($(strip $(OS)),WNT) -$(eval $(call gb_CppunitTest_use_components,starmath_qa_cppunit,\ - dtrans/util/ftransl \ - dtrans/util/sysdtrans \ -)) -endif - $(eval $(call gb_CppunitTest_use_configuration,starmath_qa_cppunit)) # vim: set noet sw=4 ts=4: diff --git a/vcl/Library_vclplug_win.mk b/vcl/Library_vclplug_win.mk index 2b05aae476b3..a80b5abf6b5a 100644 --- a/vcl/Library_vclplug_win.mk +++ b/vcl/Library_vclplug_win.mk @@ -19,6 +19,8 @@ $(eval $(call gb_Library_Library,vclplug_win)) +$(eval $(call gb_Library_set_componentfile,vclplug_win,vcl/vclplug_win)) + $(eval $(call gb_Library_set_include,vclplug_win,\ $$(INCLUDE) \ -I$(SRCDIR)/vcl/inc \ @@ -43,6 +45,7 @@ $(eval $(call gb_Library_use_libraries,vclplug_win,\ basegfx \ comphelper \ cppu \ + cppuhelper \ i18nlangtag \ i18nutil \ sal \ @@ -66,32 +69,60 @@ $(eval $(call gb_Library_add_exception_objects,vclplug_win,\ vcl/win/app/salinst \ vcl/win/app/salshl \ vcl/win/app/saltimer \ + vcl/win/dtrans/APNDataObject \ + vcl/win/dtrans/clipboardmanager \ + vcl/win/dtrans/DataFmtTransl \ + vcl/win/dtrans/DOTransferable \ + vcl/win/dtrans/DtObjFactory \ + vcl/win/dtrans/DTransHelper \ + vcl/win/dtrans/Fetc \ + vcl/win/dtrans/FetcList \ + vcl/win/dtrans/FmtFilter \ + vcl/win/dtrans/ftransl \ + vcl/win/dtrans/generic_clipboard \ + vcl/win/dtrans/globals \ + vcl/win/dtrans/idroptarget \ + vcl/win/dtrans/ImplHelper \ + vcl/win/dtrans/MtaOleClipb \ + vcl/win/dtrans/source \ + vcl/win/dtrans/sourcecontext \ + vcl/win/dtrans/target \ + vcl/win/dtrans/targetdragcontext \ + vcl/win/dtrans/targetdropcontext \ + vcl/win/dtrans/TxtCnvtHlp \ + vcl/win/dtrans/WinClipbImpl \ + vcl/win/dtrans/WinClipboard \ + vcl/win/dtrans/XNotifyingDataObject \ + vcl/win/dtrans/XTDataObject \ vcl/win/gdi/gdiimpl \ vcl/win/gdi/salbmp \ + vcl/win/gdi/salfont \ vcl/win/gdi/salgdi \ vcl/win/gdi/salgdi2 \ - vcl/win/gdi/salfont \ vcl/win/gdi/salgdi_gdiplus \ vcl/win/gdi/salnativewidgets-luna \ vcl/win/gdi/salprn \ vcl/win/gdi/salvd \ vcl/win/gdi/winlayout \ vcl/win/gdi/DWriteTextRenderer \ - vcl/win/window/salframe \ vcl/win/window/keynames \ + vcl/win/window/salframe \ vcl/win/window/salmenu \ vcl/win/window/salobj \ )) $(eval $(call gb_Library_use_system_win32_libs,vclplug_win,\ + advapi32 \ d2d1 \ dwrite \ gdi32 \ gdiplus \ imm32 \ ole32 \ + oleaut32 \ shell32 \ shlwapi \ + uuid \ version \ winspool \ )) diff --git a/dtrans/source/generic/dtrans.component b/vcl/vclplug_win.component index 1bfb643be4d0..907694991895 100644 --- a/dtrans/source/generic/dtrans.component +++ b/vcl/vclplug_win.component @@ -15,16 +15,32 @@ * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . - --> +--> <component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@" xmlns="http://openoffice.org/2010/uno-components"> + <implementation name="com.sun.star.datatransfer.DataFormatTranslator" + constructor="dtrans_CDataFormatTranslatorUNO_get_implementation"> + <service name="com.sun.star.datatransfer.DataFormatTranslator"/> + </implementation> + <implementation name="com.sun.star.comp.datatransfer.dnd.OleDragSource_V1" + constructor="dtrans_DragSource_get_implementation"> + <service name="com.sun.star.datatransfer.dnd.OleDragSource"/> + </implementation> + <implementation name="com.sun.star.comp.datatransfer.dnd.OleDropTarget_V1" + constructor="dtrans_DropTarget_get_implementation"> + <service name="com.sun.star.datatransfer.dnd.OleDropTarget"/> + </implementation> <implementation name="com.sun.star.comp.datatransfer.ClipboardManager" - constructor="dtrans_ClipboardManager_get_implementation"> + constructor="dtrans_ClipboardManager_get_implementation"> <service name="com.sun.star.datatransfer.clipboard.ClipboardManager"/> </implementation> <implementation name="com.sun.star.comp.datatransfer.clipboard.GenericClipboard" - constructor="dtrans_GenericClipboard_get_implementation"> + constructor="dtrans_GenericClipboard_get_implementation"> <service name="com.sun.star.datatransfer.clipboard.GenericClipboard"/> </implementation> + <implementation name="com.sun.star.datatransfer.clipboard.ClipboardW32" + constructor="dtrans_CWinClipboard_get_implementation"> + <service name="com.sun.star.datatransfer.clipboard.SystemClipboard"/> + </implementation> </component> diff --git a/dtrans/source/win32/dtobj/APNDataObject.cxx b/vcl/win/dtrans/APNDataObject.cxx index 53342f21f379..53342f21f379 100644 --- a/dtrans/source/win32/dtobj/APNDataObject.cxx +++ b/vcl/win/dtrans/APNDataObject.cxx diff --git a/dtrans/source/win32/dtobj/APNDataObject.hxx b/vcl/win/dtrans/APNDataObject.hxx index 2c1d9718ec2f..df3ac559cae5 100644 --- a/dtrans/source/win32/dtobj/APNDataObject.hxx +++ b/vcl/win/dtrans/APNDataObject.hxx @@ -20,6 +20,11 @@ #ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_APNDATAOBJECT_HXX #define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_APNDATAOBJECT_HXX +#if !defined WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif +#include <objidl.h> + #include <systools/win32/comtools.hxx> /* diff --git a/dtrans/source/win32/dtobj/DOTransferable.cxx b/vcl/win/dtrans/DOTransferable.cxx index 230a7fbfed8e..24fc847cfa14 100644 --- a/dtrans/source/win32/dtobj/DOTransferable.cxx +++ b/vcl/win/dtrans/DOTransferable.cxx @@ -22,8 +22,8 @@ #include <osl/diagnose.h> #include "DOTransferable.hxx" -#include "../misc/ImplHelper.hxx" -#include <WinClip.hxx> +#include "ImplHelper.hxx" +#include "WinClip.hxx" #include "DTransHelper.hxx" #include "TxtCnvtHlp.hxx" #include "MimeAttrib.hxx" diff --git a/dtrans/source/win32/dtobj/DOTransferable.hxx b/vcl/win/dtrans/DOTransferable.hxx index f45e18c4f85a..f45e18c4f85a 100644 --- a/dtrans/source/win32/dtobj/DOTransferable.hxx +++ b/vcl/win/dtrans/DOTransferable.hxx diff --git a/dtrans/source/win32/dtobj/DTransHelper.cxx b/vcl/win/dtrans/DTransHelper.cxx index 5ca12d0fe26b..5ca12d0fe26b 100644 --- a/dtrans/source/win32/dtobj/DTransHelper.cxx +++ b/vcl/win/dtrans/DTransHelper.cxx diff --git a/dtrans/source/win32/dtobj/DTransHelper.hxx b/vcl/win/dtrans/DTransHelper.hxx index e003c2a70629..684becfafa9a 100644 --- a/dtrans/source/win32/dtobj/DTransHelper.hxx +++ b/vcl/win/dtrans/DTransHelper.hxx @@ -25,7 +25,7 @@ #endif #include <windows.h> #include <objidl.h> -#include <WinClip.hxx> +#include "WinClip.hxx" #define AUTO_INIT TRUE diff --git a/dtrans/source/win32/dtobj/DataFmtTransl.cxx b/vcl/win/dtrans/DataFmtTransl.cxx index b8513c6e75d4..837acac6056f 100644 --- a/dtrans/source/win32/dtobj/DataFmtTransl.cxx +++ b/vcl/win/dtrans/DataFmtTransl.cxx @@ -21,8 +21,8 @@ #include <rtl/string.hxx> #include <osl/diagnose.h> #include <rtl/tencinfo.h> -#include "../misc/ImplHelper.hxx" -#include <WinClip.hxx> +#include "ImplHelper.hxx" +#include "WinClip.hxx" #include "MimeAttrib.hxx" #include "DTransHelper.hxx" #include <rtl/string.h> diff --git a/dtrans/source/win32/dtobj/DataFmtTransl.hxx b/vcl/win/dtrans/DataFmtTransl.hxx index 3fad9bbdc89a..3fad9bbdc89a 100644 --- a/dtrans/source/win32/dtobj/DataFmtTransl.hxx +++ b/vcl/win/dtrans/DataFmtTransl.hxx diff --git a/dtrans/source/win32/dtobj/DtObjFactory.cxx b/vcl/win/dtrans/DtObjFactory.cxx index 29f630bf406b..5a17d8b4c2e4 100644 --- a/dtrans/source/win32/dtobj/DtObjFactory.cxx +++ b/vcl/win/dtrans/DtObjFactory.cxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "../../inc/DtObjFactory.hxx" - +#include "DtObjFactory.hxx" #include "XTDataObject.hxx" using namespace com::sun::star::uno; diff --git a/dtrans/source/inc/DtObjFactory.hxx b/vcl/win/dtrans/DtObjFactory.hxx index be8bf8dbcb3e..be8bf8dbcb3e 100644 --- a/dtrans/source/inc/DtObjFactory.hxx +++ b/vcl/win/dtrans/DtObjFactory.hxx diff --git a/dtrans/source/win32/dtobj/Fetc.cxx b/vcl/win/dtrans/Fetc.cxx index 048b9228de5d..9bcb2f609ff6 100644 --- a/dtrans/source/win32/dtobj/Fetc.cxx +++ b/vcl/win/dtrans/Fetc.cxx @@ -19,7 +19,7 @@ #include <osl/diagnose.h> #include "Fetc.hxx" -#include "../misc/ImplHelper.hxx" +#include "ImplHelper.hxx" CFormatEtc::CFormatEtc( ) { diff --git a/dtrans/source/win32/dtobj/Fetc.hxx b/vcl/win/dtrans/Fetc.hxx index 5ec3e4b9459e..5ec3e4b9459e 100644 --- a/dtrans/source/win32/dtobj/Fetc.hxx +++ b/vcl/win/dtrans/Fetc.hxx diff --git a/dtrans/source/win32/dtobj/FetcList.cxx b/vcl/win/dtrans/FetcList.cxx index 0a262b0677fb..d8fc6a52548a 100644 --- a/dtrans/source/win32/dtobj/FetcList.cxx +++ b/vcl/win/dtrans/FetcList.cxx @@ -25,8 +25,8 @@ #include <com/sun/star/datatransfer/XMimeContentType.hpp> #include "DataFmtTransl.hxx" -#include "../misc/ImplHelper.hxx" -#include <WinClip.hxx> +#include "ImplHelper.hxx" +#include "WinClip.hxx" #include <algorithm> diff --git a/dtrans/source/win32/dtobj/FetcList.hxx b/vcl/win/dtrans/FetcList.hxx index cf7697e1ba1e..cf7697e1ba1e 100644 --- a/dtrans/source/win32/dtobj/FetcList.hxx +++ b/vcl/win/dtrans/FetcList.hxx diff --git a/dtrans/source/win32/dtobj/FmtFilter.cxx b/vcl/win/dtrans/FmtFilter.cxx index 2130c42ba578..2130c42ba578 100644 --- a/dtrans/source/win32/dtobj/FmtFilter.cxx +++ b/vcl/win/dtrans/FmtFilter.cxx diff --git a/dtrans/source/win32/dtobj/FmtFilter.hxx b/vcl/win/dtrans/FmtFilter.hxx index 1c2325851208..1c2325851208 100644 --- a/dtrans/source/win32/dtobj/FmtFilter.hxx +++ b/vcl/win/dtrans/FmtFilter.hxx diff --git a/dtrans/source/win32/misc/ImplHelper.cxx b/vcl/win/dtrans/ImplHelper.cxx index 0e38b9183d82..0e38b9183d82 100644 --- a/dtrans/source/win32/misc/ImplHelper.cxx +++ b/vcl/win/dtrans/ImplHelper.cxx diff --git a/dtrans/source/win32/misc/ImplHelper.hxx b/vcl/win/dtrans/ImplHelper.hxx index 2d39e0727551..2d39e0727551 100644 --- a/dtrans/source/win32/misc/ImplHelper.hxx +++ b/vcl/win/dtrans/ImplHelper.hxx diff --git a/dtrans/source/win32/dtobj/MimeAttrib.hxx b/vcl/win/dtrans/MimeAttrib.hxx index eb57ba750ea1..eb57ba750ea1 100644 --- a/dtrans/source/win32/dtobj/MimeAttrib.hxx +++ b/vcl/win/dtrans/MimeAttrib.hxx diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx b/vcl/win/dtrans/MtaOleClipb.cxx index a3e28806deed..eef43afa735c 100644 --- a/dtrans/source/win32/clipb/MtaOleClipb.cxx +++ b/vcl/win/dtrans/MtaOleClipb.cxx @@ -34,6 +34,10 @@ #include <sal/log.hxx> #include "MtaOleClipb.hxx" + +#include <svsys.h> +#include <win/saldata.hxx> + #include <osl/thread.h> #include <wchar.h> @@ -48,8 +52,7 @@ using osl::ClearableMutexGuard; namespace /* private */ { - wchar_t CLIPSRV_DLL_NAME[] = L"sysdtrans.dll"; - wchar_t g_szWndClsName[] = L"MtaOleReqWnd###"; + const wchar_t g_szWndClsName[] = L"MtaOleReqWnd###"; // messages constants @@ -607,8 +610,8 @@ void CMtaOleClipboard::createMtaOleReqWnd( ) { WNDCLASSEXW wcex; - HINSTANCE hInst = GetModuleHandleW( CLIPSRV_DLL_NAME ); - OSL_ENSURE( nullptr != hInst, "The name of the clipboard service dll must have changed" ); + SalData* pSalData = GetSalData(); + OSL_ASSERT(nullptr != pSalData->mhInst); ZeroMemory( &wcex, sizeof(wcex) ); @@ -617,7 +620,7 @@ void CMtaOleClipboard::createMtaOleReqWnd( ) wcex.lpfnWndProc = CMtaOleClipboard::mtaOleReqWndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; - wcex.hInstance = hInst; + wcex.hInstance = pSalData->mhInst; wcex.hIcon = nullptr; wcex.hCursor = nullptr; wcex.hbrBackground = nullptr; @@ -629,7 +632,7 @@ void CMtaOleClipboard::createMtaOleReqWnd( ) if ( 0 != m_MtaOleReqWndClassAtom ) m_hwndMtaOleReqWnd = CreateWindowW( - g_szWndClsName, nullptr, 0, 0, 0, 0, 0, nullptr, nullptr, hInst, nullptr ); + g_szWndClsName, nullptr, 0, 0, 0, 0, 0, nullptr, nullptr, pSalData->mhInst, nullptr ); } unsigned int CMtaOleClipboard::run( ) diff --git a/dtrans/source/win32/clipb/MtaOleClipb.hxx b/vcl/win/dtrans/MtaOleClipb.hxx index bf71ac26e8f8..bf71ac26e8f8 100644 --- a/dtrans/source/win32/clipb/MtaOleClipb.hxx +++ b/vcl/win/dtrans/MtaOleClipb.hxx diff --git a/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx b/vcl/win/dtrans/TxtCnvtHlp.cxx index 1ea9f4c9f549..a0c09a1badf5 100644 --- a/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx +++ b/vcl/win/dtrans/TxtCnvtHlp.cxx @@ -18,9 +18,10 @@ */ #include <osl/diagnose.h> + #include "TxtCnvtHlp.hxx" #include "DTransHelper.hxx" -#include "../misc/ImplHelper.hxx" +#include "ImplHelper.hxx" using namespace ::com::sun::star::datatransfer; using namespace ::com::sun::star::uno; diff --git a/dtrans/source/win32/dtobj/TxtCnvtHlp.hxx b/vcl/win/dtrans/TxtCnvtHlp.hxx index 9f8d47209d9c..9f8d47209d9c 100644 --- a/dtrans/source/win32/dtobj/TxtCnvtHlp.hxx +++ b/vcl/win/dtrans/TxtCnvtHlp.hxx diff --git a/dtrans/source/inc/WinClip.hxx b/vcl/win/dtrans/WinClip.hxx index 69d4c500c242..69d4c500c242 100644 --- a/dtrans/source/inc/WinClip.hxx +++ b/vcl/win/dtrans/WinClip.hxx diff --git a/dtrans/source/win32/clipb/WinClipbImpl.cxx b/vcl/win/dtrans/WinClipbImpl.cxx index 8d59be7ca430..0a3e5808e437 100644 --- a/dtrans/source/win32/clipb/WinClipbImpl.cxx +++ b/vcl/win/dtrans/WinClipbImpl.cxx @@ -21,12 +21,12 @@ #include "WinClipbImpl.hxx" #include <systools/win32/comtools.hxx> -#include "../../inc/DtObjFactory.hxx" -#include "../dtobj/APNDataObject.hxx" -#include "../dtobj/DOTransferable.hxx" +#include "DtObjFactory.hxx" +#include "APNDataObject.hxx" +#include "DOTransferable.hxx" #include "WinClipboard.hxx" #include <com/sun/star/datatransfer/clipboard/RenderingCapabilities.hpp> -#include "../dtobj/XNotifyingDataObject.hxx" +#include "XNotifyingDataObject.hxx" #if !defined WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN diff --git a/dtrans/source/win32/clipb/WinClipbImpl.hxx b/vcl/win/dtrans/WinClipbImpl.hxx index cd5878e6b794..cd5878e6b794 100644 --- a/dtrans/source/win32/clipb/WinClipbImpl.hxx +++ b/vcl/win/dtrans/WinClipbImpl.hxx diff --git a/dtrans/source/win32/clipb/WinClipboard.cxx b/vcl/win/dtrans/WinClipboard.cxx index 8a1d1cc07e04..8a1d1cc07e04 100644 --- a/dtrans/source/win32/clipb/WinClipboard.cxx +++ b/vcl/win/dtrans/WinClipboard.cxx diff --git a/dtrans/source/win32/clipb/WinClipboard.hxx b/vcl/win/dtrans/WinClipboard.hxx index db3f1ab188ed..db3f1ab188ed 100644 --- a/dtrans/source/win32/clipb/WinClipboard.hxx +++ b/vcl/win/dtrans/WinClipboard.hxx diff --git a/dtrans/source/win32/dtobj/XNotifyingDataObject.cxx b/vcl/win/dtrans/XNotifyingDataObject.cxx index 46f563f9497c..b12ea31271d2 100644 --- a/dtrans/source/win32/dtobj/XNotifyingDataObject.cxx +++ b/vcl/win/dtrans/XNotifyingDataObject.cxx @@ -19,8 +19,8 @@ #include <osl/diagnose.h> #include "XNotifyingDataObject.hxx" -#include "../clipb/WinClipbImpl.hxx" -#include "../clipb/WinClipboard.hxx" +#include "WinClipbImpl.hxx" +#include "WinClipboard.hxx" using namespace com::sun::star::datatransfer; using namespace com::sun::star::datatransfer::clipboard; diff --git a/dtrans/source/win32/dtobj/XNotifyingDataObject.hxx b/vcl/win/dtrans/XNotifyingDataObject.hxx index 0d72c760f4c2..0d72c760f4c2 100644 --- a/dtrans/source/win32/dtobj/XNotifyingDataObject.hxx +++ b/vcl/win/dtrans/XNotifyingDataObject.hxx diff --git a/dtrans/source/win32/dtobj/XTDataObject.cxx b/vcl/win/dtrans/XTDataObject.cxx index 6df5c9d384c1..80c19e5de93e 100644 --- a/dtrans/source/win32/dtobj/XTDataObject.cxx +++ b/vcl/win/dtrans/XTDataObject.cxx @@ -22,7 +22,7 @@ #include "XTDataObject.hxx" #include <com/sun/star/datatransfer/DataFlavor.hpp> -#include "../misc/ImplHelper.hxx" +#include "ImplHelper.hxx" #include "DTransHelper.hxx" #include "TxtCnvtHlp.hxx" #include <com/sun/star/datatransfer/UnsupportedFlavorException.hpp> diff --git a/dtrans/source/win32/dtobj/XTDataObject.hxx b/vcl/win/dtrans/XTDataObject.hxx index ca30bbea2434..ca30bbea2434 100644 --- a/dtrans/source/win32/dtobj/XTDataObject.hxx +++ b/vcl/win/dtrans/XTDataObject.hxx diff --git a/dtrans/source/generic/clipboardmanager.cxx b/vcl/win/dtrans/clipboardmanager.cxx index 8cea07171f78..8cea07171f78 100644 --- a/dtrans/source/generic/clipboardmanager.cxx +++ b/vcl/win/dtrans/clipboardmanager.cxx diff --git a/dtrans/source/generic/clipboardmanager.hxx b/vcl/win/dtrans/clipboardmanager.hxx index 2750b61246cb..2750b61246cb 100644 --- a/dtrans/source/generic/clipboardmanager.hxx +++ b/vcl/win/dtrans/clipboardmanager.hxx diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/vcl/win/dtrans/ftransl.cxx index f2c5d6487e48..e2a6581abfec 100644 --- a/dtrans/source/win32/ftransl/ftransl.cxx +++ b/vcl/win/dtrans/ftransl.cxx @@ -27,7 +27,7 @@ #include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/supportsservice.hxx> #include <rtl/ref.hxx> -#include "../misc/ImplHelper.hxx" +#include "ImplHelper.hxx" #include <shlobj.h> diff --git a/dtrans/source/win32/ftransl/ftransl.hxx b/vcl/win/dtrans/ftransl.hxx index 71d8038d2b23..c93cd8096d5d 100644 --- a/dtrans/source/win32/ftransl/ftransl.hxx +++ b/vcl/win/dtrans/ftransl.hxx @@ -27,7 +27,7 @@ #include <com/sun/star/datatransfer/XDataFormatTranslator.hpp> #include <com/sun/star/datatransfer/XMimeContentTypeFactory.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <WinClip.hxx> +#include "WinClip.hxx" #include <vector> diff --git a/dtrans/source/generic/generic_clipboard.cxx b/vcl/win/dtrans/generic_clipboard.cxx index dfc5759750f9..dfc5759750f9 100644 --- a/dtrans/source/generic/generic_clipboard.cxx +++ b/vcl/win/dtrans/generic_clipboard.cxx diff --git a/dtrans/source/generic/generic_clipboard.hxx b/vcl/win/dtrans/generic_clipboard.hxx index f23a0cc9a120..f23a0cc9a120 100644 --- a/dtrans/source/generic/generic_clipboard.hxx +++ b/vcl/win/dtrans/generic_clipboard.hxx diff --git a/dtrans/source/win32/dnd/globals.cxx b/vcl/win/dtrans/globals.cxx index fcddef22e6c1..fcddef22e6c1 100644 --- a/dtrans/source/win32/dnd/globals.cxx +++ b/vcl/win/dtrans/globals.cxx diff --git a/dtrans/source/win32/dnd/globals.hxx b/vcl/win/dtrans/globals.hxx index 057f449395c6..057f449395c6 100644 --- a/dtrans/source/win32/dnd/globals.hxx +++ b/vcl/win/dtrans/globals.hxx diff --git a/dtrans/source/win32/dnd/idroptarget.cxx b/vcl/win/dtrans/idroptarget.cxx index 8b403eb7a35f..8b403eb7a35f 100644 --- a/dtrans/source/win32/dnd/idroptarget.cxx +++ b/vcl/win/dtrans/idroptarget.cxx diff --git a/dtrans/source/win32/dnd/idroptarget.hxx b/vcl/win/dtrans/idroptarget.hxx index a86739f87cdd..a86739f87cdd 100644 --- a/dtrans/source/win32/dnd/idroptarget.hxx +++ b/vcl/win/dtrans/idroptarget.hxx diff --git a/dtrans/source/win32/dnd/source.cxx b/vcl/win/dtrans/source.cxx index 8df8325191f4..93d94e94e4c7 100644 --- a/dtrans/source/win32/dnd/source.cxx +++ b/vcl/win/dtrans/source.cxx @@ -30,7 +30,8 @@ #include "source.hxx" #include "globals.hxx" #include "sourcecontext.hxx" -#include "../../inc/DtObjFactory.hxx" +#include "DtObjFactory.hxx" + #include <rtl/ustring.h> #include <osl/thread.h> #include <winuser.h> diff --git a/dtrans/source/win32/dnd/source.hxx b/vcl/win/dtrans/source.hxx index 52d4bab1982f..52d4bab1982f 100644 --- a/dtrans/source/win32/dnd/source.hxx +++ b/vcl/win/dtrans/source.hxx diff --git a/dtrans/source/win32/dnd/sourcecontext.cxx b/vcl/win/dtrans/sourcecontext.cxx index 8531fd8a1184..8531fd8a1184 100644 --- a/dtrans/source/win32/dnd/sourcecontext.cxx +++ b/vcl/win/dtrans/sourcecontext.cxx diff --git a/dtrans/source/win32/dnd/sourcecontext.hxx b/vcl/win/dtrans/sourcecontext.hxx index 81b1682ebff9..81b1682ebff9 100644 --- a/dtrans/source/win32/dnd/sourcecontext.hxx +++ b/vcl/win/dtrans/sourcecontext.hxx diff --git a/dtrans/source/win32/dnd/target.cxx b/vcl/win/dtrans/target.cxx index 2bbd34027ef6..0aa04ea1f7ab 100644 --- a/dtrans/source/win32/dnd/target.cxx +++ b/vcl/win/dtrans/target.cxx @@ -31,7 +31,7 @@ #include <rtl/ustring.h> #include <osl/thread.h> -#include "../dtobj/DOTransferable.hxx" +#include "DOTransferable.hxx" using namespace cppu; using namespace osl; diff --git a/dtrans/source/win32/dnd/target.hxx b/vcl/win/dtrans/target.hxx index 9becfe484260..9becfe484260 100644 --- a/dtrans/source/win32/dnd/target.hxx +++ b/vcl/win/dtrans/target.hxx diff --git a/dtrans/source/win32/dnd/targetdragcontext.cxx b/vcl/win/dtrans/targetdragcontext.cxx index 4ffd16123d9d..4ffd16123d9d 100644 --- a/dtrans/source/win32/dnd/targetdragcontext.cxx +++ b/vcl/win/dtrans/targetdragcontext.cxx diff --git a/dtrans/source/win32/dnd/targetdragcontext.hxx b/vcl/win/dtrans/targetdragcontext.hxx index a8f48cad193e..a8f48cad193e 100644 --- a/dtrans/source/win32/dnd/targetdragcontext.hxx +++ b/vcl/win/dtrans/targetdragcontext.hxx diff --git a/dtrans/source/win32/dnd/targetdropcontext.cxx b/vcl/win/dtrans/targetdropcontext.cxx index 9719664a9fbb..9719664a9fbb 100644 --- a/dtrans/source/win32/dnd/targetdropcontext.cxx +++ b/vcl/win/dtrans/targetdropcontext.cxx diff --git a/dtrans/source/win32/dnd/targetdropcontext.hxx b/vcl/win/dtrans/targetdropcontext.hxx index b7db849fe4e1..b7db849fe4e1 100644 --- a/dtrans/source/win32/dnd/targetdropcontext.hxx +++ b/vcl/win/dtrans/targetdropcontext.hxx diff --git a/dtrans/source/test/makefile.mk b/vcl/workben/dtrans/makefile.mk index 588d4685a300..588d4685a300 100644 --- a/dtrans/source/test/makefile.mk +++ b/vcl/workben/dtrans/makefile.mk diff --git a/dtrans/source/test/test_dtrans.cxx b/vcl/workben/dtrans/test_dtrans.cxx index f531f12fd119..f531f12fd119 100644 --- a/dtrans/source/test/test_dtrans.cxx +++ b/vcl/workben/dtrans/test_dtrans.cxx diff --git a/dtrans/test/win32/dnd/atlwindow.cxx b/vcl/workben/win/dnd/atlwindow.cxx index 0d8d5d77646a..0d8d5d77646a 100644 --- a/dtrans/test/win32/dnd/atlwindow.cxx +++ b/vcl/workben/win/dnd/atlwindow.cxx diff --git a/dtrans/test/win32/dnd/atlwindow.hxx b/vcl/workben/win/dnd/atlwindow.hxx index 378407274b56..378407274b56 100644 --- a/dtrans/test/win32/dnd/atlwindow.hxx +++ b/vcl/workben/win/dnd/atlwindow.hxx diff --git a/dtrans/test/win32/dnd/dndTest.cxx b/vcl/workben/win/dnd/dndTest.cxx index b9f1d841e1c5..b9f1d841e1c5 100644 --- a/dtrans/test/win32/dnd/dndTest.cxx +++ b/vcl/workben/win/dnd/dndTest.cxx diff --git a/dtrans/test/win32/dnd/makefile.mk b/vcl/workben/win/dnd/makefile.mk index e0d438418eb1..e0d438418eb1 100644 --- a/dtrans/test/win32/dnd/makefile.mk +++ b/vcl/workben/win/dnd/makefile.mk diff --git a/dtrans/test/win32/dnd/sourcelistener.cxx b/vcl/workben/win/dnd/sourcelistener.cxx index aa3366e79a11..aa3366e79a11 100644 --- a/dtrans/test/win32/dnd/sourcelistener.cxx +++ b/vcl/workben/win/dnd/sourcelistener.cxx diff --git a/dtrans/test/win32/dnd/sourcelistener.hxx b/vcl/workben/win/dnd/sourcelistener.hxx index 686d95c11025..686d95c11025 100644 --- a/dtrans/test/win32/dnd/sourcelistener.hxx +++ b/vcl/workben/win/dnd/sourcelistener.hxx diff --git a/dtrans/test/win32/dnd/targetlistener.cxx b/vcl/workben/win/dnd/targetlistener.cxx index 0a93d394560a..0a93d394560a 100644 --- a/dtrans/test/win32/dnd/targetlistener.cxx +++ b/vcl/workben/win/dnd/targetlistener.cxx diff --git a/dtrans/test/win32/dnd/targetlistener.hxx b/vcl/workben/win/dnd/targetlistener.hxx index 153dc64eead5..153dc64eead5 100644 --- a/dtrans/test/win32/dnd/targetlistener.hxx +++ b/vcl/workben/win/dnd/targetlistener.hxx diff --git a/dtrans/test/win32/dnd/transferable.cxx b/vcl/workben/win/dnd/transferable.cxx index 924c031763b5..924c031763b5 100644 --- a/dtrans/test/win32/dnd/transferable.cxx +++ b/vcl/workben/win/dnd/transferable.cxx diff --git a/dtrans/test/win32/dnd/transferable.hxx b/vcl/workben/win/dnd/transferable.hxx index 1323a2cd5aaa..1323a2cd5aaa 100644 --- a/dtrans/test/win32/dnd/transferable.hxx +++ b/vcl/workben/win/dnd/transferable.hxx diff --git a/dtrans/source/win32/workbench/XTDo.cxx b/vcl/workben/win/dtrans/XTDo.cxx index f8da707d92e3..f8da707d92e3 100644 --- a/dtrans/source/win32/workbench/XTDo.cxx +++ b/vcl/workben/win/dtrans/XTDo.cxx diff --git a/dtrans/source/win32/workbench/XTDo.hxx b/vcl/workben/win/dtrans/XTDo.hxx index 50f8425593e4..50f8425593e4 100644 --- a/dtrans/source/win32/workbench/XTDo.hxx +++ b/vcl/workben/win/dtrans/XTDo.hxx diff --git a/dtrans/source/win32/workbench/makefile.mk b/vcl/workben/win/dtrans/makefile.mk index 3c82289f8ee1..3c82289f8ee1 100644 --- a/dtrans/source/win32/workbench/makefile.mk +++ b/vcl/workben/win/dtrans/makefile.mk diff --git a/dtrans/source/win32/workbench/test_wincb.cxx b/vcl/workben/win/dtrans/test_wincb.cxx index 8a2f25fd4ccc..8a2f25fd4ccc 100644 --- a/dtrans/source/win32/workbench/test_wincb.cxx +++ b/vcl/workben/win/dtrans/test_wincb.cxx diff --git a/dtrans/source/win32/workbench/testmarshal.cxx b/vcl/workben/win/dtrans/testmarshal.cxx index d9edfe753107..d9edfe753107 100644 --- a/dtrans/source/win32/workbench/testmarshal.cxx +++ b/vcl/workben/win/dtrans/testmarshal.cxx |