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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/DragSource.cxx b/vcl/osx/DragSource.cxx
index d2ce6d103975..bc3ee9700284 100644
--- a/vcl/osx/DragSource.cxx
+++ b/vcl/osx/DragSource.cxx
@@ -123,7 +123,7 @@ Sequence<OUString> dragSource_getSupportedServiceNames()
bDropSuccess );
mDragSource->mXDragSrcListener->dragDropEnd(dsde);
- mDragSource->mXDragSrcListener = uno::Reference<XDragSourceListener>();
+ mDragSource->mXDragSrcListener.clear();
}
-(void)draggedImage:(NSImage *)draggedImage movedTo:(NSPoint)screenPoint
@@ -276,7 +276,7 @@ void SAL_CALL DragSource::startDrag(const DragGestureEvent& trigger,
[dragImage release];
- g_XTransferable = uno::Reference<XTransferable>();
+ g_XTransferable.clear();
g_DragSourceView = nil;
// reset drop success flags