summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-06-27 15:40:17 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-29 22:03:01 +0200
commitb65017a2a7af290f6681da7b197a52efe83d5185 (patch)
tree06f71a435ba200d044109469b13be7c8f5dbe950 /qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java
parent33ec740d1438c3dddf8e1974757ed05bb76425ca (diff)
Java5 update - usage generics where possible
Change-Id: I12f8c448961919e153047e28fee2a0acf3af1002
Diffstat (limited to 'qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java')
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java b/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java
index 83ecb327d9eb..2f9bf9a5ae14 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java
@@ -82,7 +82,7 @@ public class _XTextRangeCompare extends MultiMethodTest {
XInterface oIfc = (XInterface)tEnv.getObjRelation("TEXTDOC");
if (oIfc!=null) {
- XTextDocument oTDoc = (XTextDocument)UnoRuntime.queryInterface(
+ XTextDocument oTDoc = UnoRuntime.queryInterface(
XTextDocument.class, oIfc);
oText = oTDoc.getText();
}