summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sw
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-02-12 14:51:00 +0100
committersb <sb@openoffice.org>2010-02-12 14:51:00 +0100
commit75d11d8f2f10604b35c6b0fb4bb24660f32f8329 (patch)
tree8f18fe61853696ba045fa615fb82bf2000ddd4d6 /qadevOOo/tests/java/mod/_sw
parent5610f316cbbeb5757fd7d669445b3f190e7067e1 (diff)
sb118: minor code cleanup
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw')
-rwxr-xr-xqadevOOo/tests/java/mod/_sw/CharacterStyle.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/CharacterStyle.java b/qadevOOo/tests/java/mod/_sw/CharacterStyle.java
index 91ce4e8b09ad..2caab9671b39 100755
--- a/qadevOOo/tests/java/mod/_sw/CharacterStyle.java
+++ b/qadevOOo/tests/java/mod/_sw/CharacterStyle.java
@@ -58,15 +58,13 @@ import util.utils;
* @see com.sun.star.style.CharacterStyle
*/
public class CharacterStyle extends TestCase {
-
- XTextDocument xTextDoc;
- SOfficeFactory SOF = null;
+ private XTextDocument xTextDoc;
/**
* Creates text document.
*/
protected void initialize( TestParameters tParam, PrintWriter log ) {
- SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
+ SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
try {
log.println( "creating a textdocument" );
xTextDoc = SOF.createTextDoc( null );