summaryrefslogtreecommitdiff
path: root/vcl/inc/dndeventdispatcher.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-07-18 15:04:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-07-18 21:08:00 +0200
commit3394fe4f19def29e314798fa64235b28d9df50a6 (patch)
tree3c3ca562b158964ff1f620741eb517ada1234a84 /vcl/inc/dndeventdispatcher.hxx
parentbb01ef3865c406f322d6e656faba2191aaeeb6da (diff)
fix DNDEventDispatcher::findTopLevelWindow
for the unlikely case of antiparallel desktop (whatever that is) regression from commit ea05f2aa4e28fd40238c4962e9dcbbf0d873cabd Author: Norbert Thiebaud <nthiebaud@gmail.com> Date: Thu Oct 14 22:12:16 2010 -0500 migrate OClearableGuard(SoalrMutex) to SolarMutexGuard when the code findTopLevelWindow was extracted into its own method, the location parameter was not made a reference, which is necessary to propogate the update that occurs in OutputDevice::ReMirror Change-Id: I37c18497660cd157ca4e4cfb1cbb60ed07e11da5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154586 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/dndeventdispatcher.hxx')
-rw-r--r--vcl/inc/dndeventdispatcher.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/dndeventdispatcher.hxx b/vcl/inc/dndeventdispatcher.hxx
index 9756056da3bd..0b3f58560282 100644
--- a/vcl/inc/dndeventdispatcher.hxx
+++ b/vcl/inc/dndeventdispatcher.hxx
@@ -42,7 +42,7 @@ class DNDEventDispatcher final : public ::cppu::WeakImplHelper<
std::recursive_mutex m_aMutex;
css::uno::Sequence< css::datatransfer::DataFlavor > m_aDataFlavorList;
- vcl::Window* findTopLevelWindow(Point location);
+ vcl::Window* findTopLevelWindow(Point& location);
/*
* fire the events on the dnd listener container of the specified window
*/