summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/mod/_sd/SdXPresentation.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sd/SdXPresentation.java')
-rw-r--r--qadevOOo/tests/java/mod/_sd/SdXPresentation.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/mod/_sd/SdXPresentation.java b/qadevOOo/tests/java/mod/_sd/SdXPresentation.java
index d8f538b8dccb..a8f754690a59 100644
--- a/qadevOOo/tests/java/mod/_sd/SdXPresentation.java
+++ b/qadevOOo/tests/java/mod/_sd/SdXPresentation.java
@@ -105,14 +105,12 @@ public class SdXPresentation extends TestCase {
log.println( "creating a test environment" );
log.println( "get presentation" );
- XPresentationSupplier oPS = (XPresentationSupplier)
- UnoRuntime.queryInterface(XPresentationSupplier.class, xImpressDoc);
+ XPresentationSupplier oPS = UnoRuntime.queryInterface(XPresentationSupplier.class, xImpressDoc);
XInterface oObj = oPS.getPresentation();
log.println( "get custom presentation" );
- XCustomPresentationSupplier oCPS = (XCustomPresentationSupplier)
- UnoRuntime.queryInterface(
- XCustomPresentationSupplier.class, xImpressDoc);
+ XCustomPresentationSupplier oCPS = UnoRuntime.queryInterface(
+ XCustomPresentationSupplier.class, xImpressDoc);
XNameContainer xCP = oCPS.getCustomPresentations();
XInterface oInstance = null;