diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java index d63546f09d10..96df8bc1f105 100644 --- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java +++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java @@ -78,14 +78,14 @@ public class ScIndexEnumeration_CellAreaLinksEnumeration extends TestCase { try { // creation of testobject here - XPropertySet props = (XPropertySet)UnoRuntime.queryInterface + XPropertySet props = UnoRuntime.queryInterface (XPropertySet.class, xSheetDoc); oObj = (XInterface) AnyConverter.toObject( new Type(XInterface.class),props.getPropertyValue("AreaLinks")) ; XAreaLinks links = null ; // adding one link into collection (for best testing) - links = (XAreaLinks) UnoRuntime.queryInterface(XAreaLinks.class, oObj) ; + links = UnoRuntime.queryInterface(XAreaLinks.class, oObj) ; CellAddress addr = new CellAddress ((short) 1,2,3) ; String aSourceArea = util.utils.getFullTestURL("calcshapes.sxc"); links.insertAtPosition (addr, aSourceArea, "a2:b5", "", "") ; |