summaryrefslogtreecommitdiff
path: root/vcl/osx/DropTarget.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-08 23:46:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-08 23:47:25 +0200
commitdeca1830c8b2446fde35a443248638354b37239b (patch)
treed1b06a0556f25db0c4d8bf3a0c73d5108f71a083 /vcl/osx/DropTarget.cxx
parent8d66fe43a1c6ee197517135bd34b51654d0cd7f8 (diff)
loplugin:staticmethods
Change-Id: I186c81923857d06ac7a87caf9d5961f44b89b559
Diffstat (limited to 'vcl/osx/DropTarget.cxx')
-rw-r--r--vcl/osx/DropTarget.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/osx/DropTarget.cxx b/vcl/osx/DropTarget.cxx
index 28843b2ca544..b52e433f6db1 100644
--- a/vcl/osx/DropTarget.cxx
+++ b/vcl/osx/DropTarget.cxx
@@ -99,7 +99,8 @@ namespace /* private */
-(BOOL)prepareForDragOperation:(id <NSDraggingInfo>)sender
{
- return mDropTarget->prepareForDragOperation(sender);
+ (void) sender;
+ return DropTarget::prepareForDragOperation();
}
-(BOOL)performDragOperation:(id <NSDraggingInfo>)sender
@@ -282,7 +283,7 @@ void DropTarget::draggingExited(id /*sender*/)
[[NSCursor arrowCursor] set];
}
-BOOL DropTarget::prepareForDragOperation(id /*sender*/)
+BOOL DropTarget::prepareForDragOperation()
{
return 1;
}