diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java b/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java index 7a857ca9410e..01b5b23f5d66 100644 --- a/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java +++ b/qadevOOo/tests/java/mod/_sd/SdUnoOutlineView.java @@ -71,7 +71,7 @@ import com.sun.star.util.XURLTransformer; * @see ifc.frame._XDispatchProvider */ public class SdUnoOutlineView extends TestCase { - XDesktop the_Desk; + XDesktop xDesktop; XComponent xImpressDoc; XComponent xSecondDrawDoc; @@ -81,9 +81,7 @@ public class SdUnoOutlineView extends TestCase { */ @Override protected void initialize(TestParameters Param, PrintWriter log) throws Exception { - the_Desk = UnoRuntime.queryInterface( - XDesktop.class, DesktopTools.createDesktop( - Param.getMSF()) ); + xDesktop = DesktopTools.createDesktop(Param.getMSF()); } /** @@ -188,7 +186,7 @@ public class SdUnoOutlineView extends TestCase { tEnv.addObjRelation("XUserInputInterception.XModel", aModel); - XFrame the_frame = the_Desk.getCurrentFrame(); + XFrame the_frame = xDesktop.getCurrentFrame(); tEnv.addObjRelation("Frame", the_frame); aModel = UnoRuntime.queryInterface(XModel.class, xSecondDrawDoc); |