summaryrefslogtreecommitdiff
path: root/sw/qa/complex/writer/CheckTable.java
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/complex/writer/CheckTable.java')
-rw-r--r--sw/qa/complex/writer/CheckTable.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/sw/qa/complex/writer/CheckTable.java b/sw/qa/complex/writer/CheckTable.java
index 54d90afc302a..83b92da818f8 100644
--- a/sw/qa/complex/writer/CheckTable.java
+++ b/sw/qa/complex/writer/CheckTable.java
@@ -51,18 +51,16 @@ public class CheckTable
connection.tearDown();
}
- private XMultiServiceFactory m_xMSF = null;
- private XComponentContext m_xContext = null;
private XTextDocument m_xDoc = null;
@Before public void before() throws Exception
{
- m_xMSF = UnoRuntime.queryInterface(
+ XMultiServiceFactory xMSF = UnoRuntime.queryInterface(
XMultiServiceFactory.class,
connection.getComponentContext().getServiceManager());
- m_xContext = connection.getComponentContext();
- assertNotNull("could not get component context.", m_xContext);
- m_xDoc = util.WriterTools.createTextDoc(m_xMSF);
+ XComponentContext xContext = connection.getComponentContext();
+ assertNotNull("could not get component context.", xContext);
+ m_xDoc = util.WriterTools.createTextDoc(xMSF);
}
@After public void after()