diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 23:46:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 23:47:25 +0200 |
commit | deca1830c8b2446fde35a443248638354b37239b (patch) | |
tree | d1b06a0556f25db0c4d8bf3a0c73d5108f71a083 | |
parent | 8d66fe43a1c6ee197517135bd34b51654d0cd7f8 (diff) |
loplugin:staticmethods
Change-Id: I186c81923857d06ac7a87caf9d5961f44b89b559
-rw-r--r-- | vcl/osx/DropTarget.cxx | 5 | ||||
-rw-r--r-- | vcl/osx/DropTarget.hxx | 2 |
2 files changed, 4 insertions, 3 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; } diff --git a/vcl/osx/DropTarget.hxx b/vcl/osx/DropTarget.hxx index d67b647b7111..09f4ee898218 100644 --- a/vcl/osx/DropTarget.hxx +++ b/vcl/osx/DropTarget.hxx @@ -124,7 +124,7 @@ public: NSDragOperation draggingEntered(id sender); NSDragOperation draggingUpdated(id sender); void draggingExited(id sender); - BOOL prepareForDragOperation(id sender); + static BOOL prepareForDragOperation(); BOOL performDragOperation(id sender); void concludeDragOperation(id sender); |