summaryrefslogtreecommitdiff
path: root/vcl/osx/DragSource.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx/DragSource.cxx')
-rw-r--r--vcl/osx/DragSource.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/osx/DragSource.cxx b/vcl/osx/DragSource.cxx
index 1e5e5eb6ab8d..6c22424b51e0 100644
--- a/vcl/osx/DragSource.cxx
+++ b/vcl/osx/DragSource.cxx
@@ -34,6 +34,7 @@
#include "osx/salframe.h"
+#include <cassert>
#include <memory>
@@ -230,8 +231,8 @@ void SAL_CALL DragSource::startDrag(const DragGestureEvent& trigger,
{
MutexGuard guard(m_aMutex);
- OSL_ASSERT(listener.is() && "DragSource::startDrag: No XDragSourceListener provided\n");
- OSL_ASSERT(transferable.is() && "DragSource::startDrag: No transferable provided\n");
+ assert(listener.is() && "DragSource::startDrag: No XDragSourceListener provided\n");
+ assert(transferable.is() && "DragSource::startDrag: No transferable provided\n");
trigger.Event >>= mMouseEvent;
m_MouseButton= mMouseEvent.Buttons;