Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-09-27 07:44:06 +0000
committerAlexander Kurtakov2017-09-27 07:44:06 +0000
commitaab6e35f45638c8e78f68696d4e0d73927332d5d (patch)
tree63d1f57b8b2b68fc99e878c6444050f918bdf564 /bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPolicyDecisionListener.java
parent5b8fa75d1f7bd7eb02164c4992685338c6ecbba4 (diff)
downloadeclipse.platform.swt-aab6e35f45638c8e78f68696d4e0d73927332d5d.tar.gz
eclipse.platform.swt-aab6e35f45638c8e78f68696d4e0d73927332d5d.tar.xz
eclipse.platform.swt-aab6e35f45638c8e78f68696d4e0d73927332d5d.zip
Bug 525255 - Enable indirect static usage warnings
Cover win32. Change-Id: Ifa0f68487fbcd57b84603c08ce5c388e74763706 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPolicyDecisionListener.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPolicyDecisionListener.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPolicyDecisionListener.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPolicyDecisionListener.java
index 1b9d6fdb06..3b3b427a68 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPolicyDecisionListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPolicyDecisionListener.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2012 IBM Corporation and others.
+ * Copyright (c) 2010, 2017 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -12,6 +12,7 @@ package org.eclipse.swt.internal.webkit;
import org.eclipse.swt.internal.ole.win32.*;
+import org.eclipse.swt.internal.win32.*;
public class IWebPolicyDecisionListener extends IUnknown{
@@ -20,15 +21,15 @@ public IWebPolicyDecisionListener (long /*int*/ address) {
}
public int use () {
- return COM.VtblCall (3, getAddress ());
+ return OS.VtblCall (3, getAddress ());
}
public int download () {
- return COM.VtblCall (4, getAddress ());
+ return OS.VtblCall (4, getAddress ());
}
public int ignore () {
- return COM.VtblCall (5, getAddress ());
+ return OS.VtblCall (5, getAddress ());
}
}

Back to the top