vcl/qt5/QtDragAndDrop.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b846b6f04aa0d348157c4621e93a737c5cf15c28
Author:     Michael Weghorn <[email protected]>
AuthorDate: Thu Feb 26 09:56:35 2026 +0100
Commit:     Michael Weghorn <[email protected]>
CommitDate: Fri Feb 27 08:53:25 2026 +0100

    qt: Include QtTools header in QtDragAndDrop.cxx
    
    Required for `toVclDropAction` helper etc.
    
    Fixes these build failures seen on Windows
    when experimenting with Hossein's WIP Gerrit change [1]:
    
        C:\Users\mwegh\development\git\libreoffice
cl\qt6\../qt5/QtDragAndDrop.cxx(104): error C3861: 'toVclDropAction': 
identifier not found
        C:\Users\mwegh\development\git\libreoffice
cl\qt6\../qt5/QtDragAndDrop.cxx(142): error C3861: 'toQtDropActions': 
identifier not found
        C:\Users\mwegh\development\git\libreoffice
cl\qt6\../qt5/QtDragAndDrop.cxx(271): error C3861: 'toVclDropActions': 
identifier not found
        C:\Users\mwegh\development\git\libreoffice
cl\qt6\../qt5/QtDragAndDrop.cxx(299): error C3861: 'toVclDropActions': 
identifier not found
    
    [1] https://gerrit.libreoffice.org/c/core/+/199615
    
    Change-Id: Ib1116d7ca82563e23349671de8a05cbb9441c6e1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200399
    Reviewed-by: Michael Weghorn <[email protected]>
    Tested-by: Jenkins

diff --git a/vcl/qt5/QtDragAndDrop.cxx b/vcl/qt5/QtDragAndDrop.cxx
index 202b7d7e0a87..a01a5f3eae11 100644
--- a/vcl/qt5/QtDragAndDrop.cxx
+++ b/vcl/qt5/QtDragAndDrop.cxx
@@ -11,6 +11,7 @@
 #include <QtDragAndDrop.moc>
 
 #include <QtFrame.hxx>
+#include <QtTools.hxx>
 #include <QtTransferable.hxx>
 
 #include <com/sun/star/datatransfer/dnd/DNDConstants.hpp>

Reply via email to