diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 08:15:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 08:59:23 +0100 |
commit | ddc9595b3145e7af0958b52f47bf80bddf877a8e (patch) | |
tree | 23c25b8d30d9562c107245e0f701f1983bc0db98 /qadevOOo | |
parent | db5c67e1006664916b7b4c8881d21cf096333ee7 (diff) |
Remove unused util.dbg.getImplID
Change-Id: I2c662698146120924e8d3807547727d62155b024
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/runner/util/dbg.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/qadevOOo/runner/util/dbg.java b/qadevOOo/runner/util/dbg.java index 9530746eb6fc..43a25668c1b8 100644 --- a/qadevOOo/runner/util/dbg.java +++ b/qadevOOo/runner/util/dbg.java @@ -309,27 +309,4 @@ public class dbg { if (notSupportedServices) 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; - } - - } |