diff options
Diffstat (limited to 'vcl/qt5/QtDragAndDrop.cxx')
-rw-r--r-- | vcl/qt5/QtDragAndDrop.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/qt5/QtDragAndDrop.cxx b/vcl/qt5/QtDragAndDrop.cxx index 0148715e237b..ffabc1bbbaaa 100644 --- a/vcl/qt5/QtDragAndDrop.cxx +++ b/vcl/qt5/QtDragAndDrop.cxx @@ -171,8 +171,7 @@ void QtDropTarget::removeDropTargetListener( { ::osl::Guard<::osl::Mutex> aGuard(m_aMutex); - m_aListeners.erase(std::remove(m_aListeners.begin(), m_aListeners.end(), xListener), - m_aListeners.end()); + std::erase(m_aListeners, xListener); } sal_Bool QtDropTarget::isActive() { return m_bActive; } |