diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/text/_XTextContent.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/text/_XTextContent.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_XTextContent.java b/qadevOOo/tests/java/ifc/text/_XTextContent.java index 52ca11ab9f8d..d93c95c1fa24 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextContent.java +++ b/qadevOOo/tests/java/ifc/text/_XTextContent.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 @@ -79,14 +79,14 @@ public class _XTextContent extends MultiMethodTest { * @see #_getAnchor() */ public void _attach() { - requiredMethod("getAnchor()"); + requiredMethod("getAnchor()"); try { - XTextContent aContent = (XTextContent) tEnv.getObjRelation("CONTENT"); + XTextContent aContent = (XTextContent) tEnv.getObjRelation("CONTENT"); XTextRange aRange = (XTextRange) tEnv.getObjRelation("RANGE"); - if ( aContent !=null) { + if ( aContent !=null) { aContent.attach(aRange); - } else { + } else { oObj.attach(aRange); } tRes.tested("attach()", true ) ; @@ -100,7 +100,7 @@ public class _XTextContent extends MultiMethodTest { } else { ex.printStackTrace(log); tRes.tested("attach()",false); - } + } } catch (com.sun.star.uno.RuntimeException re) { String noAttach = (String) tEnv.getObjRelation("NoAttach"); if (noAttach != null) { @@ -110,7 +110,7 @@ public class _XTextContent extends MultiMethodTest { } else { re.printStackTrace(log); tRes.tested("attach()",false); - } + } } } } |