summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java')
-rw-r--r--qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
index ff310e27d168..ea1c7773a4ad 100644
--- a/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
+++ b/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java
@@ -141,8 +141,7 @@ public class XMLStylesExporter extends TestCase {
StyleFamilies.getByName(styleFamiliesNames[0]));
Object SC = SOF.createInstance(
xSheetDoc, "com.sun.star.style.CellStyle");
- XStyle StyleCell = (XStyle)
- UnoRuntime.queryInterface(XStyle.class,SC);
+ XStyle StyleCell = UnoRuntime.queryInterface(XStyle.class,SC);
StyleFamilyName.insertByName(newName, StyleCell);
log.println("fill sheet 1 with content...");