diff options
Diffstat (limited to 'vcl/osx/DragSource.cxx')
-rw-r--r-- | vcl/osx/DragSource.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/DragSource.cxx b/vcl/osx/DragSource.cxx index 5601d25e1b2f..5cf1602b6bfe 100644 --- a/vcl/osx/DragSource.cxx +++ b/vcl/osx/DragSource.cxx @@ -192,7 +192,7 @@ void SAL_CALL DragSource::initialize(const Sequence< Any >& aArguments) throw Exception("DragSource::initialize: Provided view is not attached to a vcl frame", static_cast<OWeakObject*>(this)); } - mpFrame = (AquaSalFrame*)[pWin performSelector: @selector(getSalFrame)]; + mpFrame = static_cast<AquaSalFrame*>([pWin performSelector: @selector(getSalFrame)]); mDragSourceHelper = [[DragSourceHelper alloc] initWithDragSource: this]; |