summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_typemgr/uno/TypeDescriptionManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_typemgr/uno/TypeDescriptionManager.java')
-rw-r--r--qadevOOo/tests/java/mod/_typemgr/uno/TypeDescriptionManager.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/mod/_typemgr/uno/TypeDescriptionManager.java b/qadevOOo/tests/java/mod/_typemgr/uno/TypeDescriptionManager.java
index abee10a5029a..57b45152453b 100644
--- a/qadevOOo/tests/java/mod/_typemgr/uno/TypeDescriptionManager.java
+++ b/qadevOOo/tests/java/mod/_typemgr/uno/TypeDescriptionManager.java
@@ -43,12 +43,11 @@ public class TypeDescriptionManager extends TestCase {
try {
XMultiServiceFactory xMSF = (XMultiServiceFactory)Param.getMSF();
- XPropertySet xProp = (XPropertySet)UnoRuntime.queryInterface(
+ XPropertySet xProp = UnoRuntime.queryInterface(
XPropertySet.class, xMSF);
// get context
- XComponentContext xContext = (XComponentContext)
- UnoRuntime.queryInterface(XComponentContext.class,
- xProp.getPropertyValue("DefaultContext"));
+ XComponentContext xContext = UnoRuntime.queryInterface(XComponentContext.class,
+ xProp.getPropertyValue("DefaultContext"));
// get the type description manager from context
oInterface = xContext.getValueByName("/singletons/" +
"com.sun.star.reflection.theTypeDescriptionManager");