diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-29 10:08:15 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-29 22:03:05 +0200 |
commit | f9fa0dd66b830ff21c4a2dcd201151a4e9ca2de8 (patch) | |
tree | 1c1a421028cbef391af4f2886eac2677f75c5ee7 /unotest | |
parent | 531a052bdc1eff3d66fd17ec6f7e9f373cbd1404 (diff) |
Java5 updates - update code to use generics
This is all of the code I missed in my first set of patches.
Change-Id: I8c7c9e5ac28dc3c2f3ac062c806fbf0787c997bd
Diffstat (limited to 'unotest')
-rw-r--r-- | unotest/source/java/org/openoffice/test/tools/OfficeDocument.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java b/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java index 5905bb9a7300..367bca1c3124 100644 --- a/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java +++ b/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java @@ -147,7 +147,7 @@ public class OfficeDocument } /* ------------------------------------------------------------------ */ - public Object query( Class aInterfaceClass ) + public <T> T query( Class<T> aInterfaceClass ) { return UnoRuntime.queryInterface( aInterfaceClass, m_documentComponent ); } |