Kaydet (Commit) deca1830 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticmethods

Change-Id: I186c81923857d06ac7a87caf9d5961f44b89b559
üst 8d66fe43
......@@ -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;
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment