vcl/inc/qt5/QtDragAndDrop.hxx | 2 -- vcl/qt5/QtDragAndDrop.cxx | 8 -------- 2 files changed, 10 deletions(-)
New commits: commit 3a1aa682e1c2a797a6ba72be1f28a4570a53a80c Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Fri May 9 14:16:37 2025 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Sat May 10 17:31:55 2025 +0200 qt: Drop unused QtDropTarget::deinitialize Change-Id: Id054fd205f9588257c661dafed99427f3b85f14b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185107 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/vcl/inc/qt5/QtDragAndDrop.hxx b/vcl/inc/qt5/QtDragAndDrop.hxx index 716f20b88ec9..c768c57ad635 100644 --- a/vcl/inc/qt5/QtDragAndDrop.hxx +++ b/vcl/inc/qt5/QtDragAndDrop.hxx @@ -76,7 +76,6 @@ public: // XInitialization virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArgs) override; - void deinitialize(); // XDropTarget virtual void SAL_CALL addDropTargetListener( diff --git a/vcl/qt5/QtDragAndDrop.cxx b/vcl/qt5/QtDragAndDrop.cxx index 7398004c548e..4d40de24d2ca 100644 --- a/vcl/qt5/QtDragAndDrop.cxx +++ b/vcl/qt5/QtDragAndDrop.cxx @@ -127,12 +127,6 @@ css::uno::Sequence<OUString> SAL_CALL QtDropTarget::getSupportedServiceNames() QtDropTarget::~QtDropTarget() {} -void QtDropTarget::deinitialize() -{ - m_pFrame = nullptr; - m_bActive = false; -} - void QtDropTarget::initialize(const uno::Sequence<uno::Any>& rArguments) { if (rArguments.getLength() < 2) commit c3bb9c5d72ae64a55f06d1ebea3b1b526076ebe0 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Fri May 9 13:50:29 2025 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Sat May 10 17:31:44 2025 +0200 qt: Drop unused QtDragSource::deinitialize It's non-virtual and not used anywhere. Change-Id: Ic3f4f098a7895f4b6f2232ea6fe8f384587e7398 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185106 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/vcl/inc/qt5/QtDragAndDrop.hxx b/vcl/inc/qt5/QtDragAndDrop.hxx index ab00bd4ebfbc..716f20b88ec9 100644 --- a/vcl/inc/qt5/QtDragAndDrop.hxx +++ b/vcl/inc/qt5/QtDragAndDrop.hxx @@ -46,7 +46,6 @@ public: // XInitialization virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) override; - void deinitialize(); OUString SAL_CALL getImplementationName() override; diff --git a/vcl/qt5/QtDragAndDrop.cxx b/vcl/qt5/QtDragAndDrop.cxx index 18f0ac42a855..7398004c548e 100644 --- a/vcl/qt5/QtDragAndDrop.cxx +++ b/vcl/qt5/QtDragAndDrop.cxx @@ -25,8 +25,6 @@ using namespace com::sun::star; QtDragSource::~QtDragSource() {} -void QtDragSource::deinitialize() { m_pFrame = nullptr; } - sal_Bool QtDragSource::isDragImageSupported() { return true; } sal_Int32 QtDragSource::getDefaultCursor(sal_Int8) { return 0; }