summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java')
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java
index c96ba75498d0..5a4aa2ca795f 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java
@@ -161,7 +161,7 @@ public class XMLStylesImporter extends TestCase {
xImpressDoc);
XNameAccess oStyleFamilies = sup.getStyleFamilies();
Object family = oStyleFamilies.getByName("graphics") ;
- styles = (XNameAccess) UnoRuntime.queryInterface
+ styles = UnoRuntime.queryInterface
(XNameAccess.class, family) ;
log.println("Styles before:") ;
String[] names = styles.getElementNames() ;