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

Remove unused util.dbg.getImplID

Change-Id: I2c662698146120924e8d3807547727d62155b024
üst db5c67e1
...@@ -309,27 +309,4 @@ public class dbg { ...@@ -309,27 +309,4 @@ public class dbg {
if (notSupportedServices) if (notSupportedServices)
System.out.println(str); System.out.println(str);
} }
/**
* Get the unique implementation id of a UNO object.
* @param xTarget An implementation of a UNO object.
* @return The implementation id.
*/
public static String getImplID( XInterface xTarget ) {
String str = "";
XTypeProvider xTypeProvider = UnoRuntime.queryInterface( XTypeProvider.class, xTarget);
if( xTypeProvider != null ) {
byte[] id = xTypeProvider.getImplementationId();
str = "ImplementationID: ";
for (int i=0; i<id.length;i++) {
Byte b = new Byte(id[i]);
str += b.intValue();
}
} else {
str = "No Implementation ID available";
}
return str;
}
} }
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