diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-22 22:06:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-22 22:06:15 +0100 |
commit | 6c6c5cd1a2ae57b1944beb6edc2a9d75b0d91bc5 (patch) | |
tree | b985d5be483b2f6d2603c8103fd1e08e06804468 /vcl/osx/DragSource.cxx | |
parent | ef296e87b8afa1afdc08a23675658e0252dd2b86 (diff) |
Why is Objective C such an ill-specified mess?
Change-Id: I2a6b4ba10d303a6a4ce5bc4582e68a73c2ae331e
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 5cf1602b6bfe..7adeff85c490 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 = static_cast<AquaSalFrame*>([pWin performSelector: @selector(getSalFrame)]); + mpFrame = reinterpret_cast<AquaSalFrame*>([pWin performSelector: @selector(getSalFrame)]); mDragSourceHelper = [[DragSourceHelper alloc] initWithDragSource: this]; |