diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-27 15:40:17 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-29 22:03:01 +0200 |
commit | b65017a2a7af290f6681da7b197a52efe83d5185 (patch) | |
tree | 06f71a435ba200d044109469b13be7c8f5dbe950 /qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java | |
parent | Java5 update - Convert Hashtable to HashMap (diff) | |
download | core-b65017a2a7af290f6681da7b197a52efe83d5185.tar.gz core-b65017a2a7af290f6681da7b197a52efe83d5185.zip |
Java5 update - usage generics where possible
Change-Id: I12f8c448961919e153047e28fee2a0acf3af1002
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java b/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java index 4e47887791c2..002ca496ccac 100644 --- a/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java @@ -87,7 +87,7 @@ public class ScAreaLinkObj extends TestCase { */ protected void cleanup( TestParameters tParam, PrintWriter log ) { log.println( " disposing xSheetDoc " ); - XComponent oComp = (XComponent) UnoRuntime.queryInterface + XComponent oComp = UnoRuntime.queryInterface (XComponent.class, xSheetDoc) ; util.DesktopTools.closeDoc(oComp); } |