diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java index f0f5f387e0ef..51671d8d279c 100644 --- a/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java +++ b/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -147,7 +147,7 @@ public class XMLStylesExporter extends TestCase { XStyleFamiliesSupplier.class, xSheetDoc); XNameAccess StyleFamilies = styleSup.getStyleFamilies(); String[] styleFamiliesNames = StyleFamilies.getElementNames(); - XNameContainer StyleFamilyName = (XNameContainer) + XNameContainer StyleFamilyName = (XNameContainer) AnyConverter.toObject(new Type(XNameContainer.class), StyleFamilies.getByName(styleFamiliesNames[0])); Object SC = SOF.createInstance( @@ -155,10 +155,10 @@ public class XMLStylesExporter extends TestCase { XStyle StyleCell = (XStyle) UnoRuntime.queryInterface(XStyle.class,SC); StyleFamilyName.insertByName(newName, StyleCell); - + log.println("fill sheet 1 with contnet..."); util.CalcTools.fillCalcSheetWithContent(xSheetDoc, 1, 3, 3, 50, 100); - + } catch (com.sun.star.uno.Exception e) { e.printStackTrace(log); throw new StatusException("Can't create environment.", e); |