diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java b/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java index 932bec5b3ead..a0c061271684 100644 --- a/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java +++ b/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.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 @@ -37,19 +37,19 @@ import lib.MultiPropertyTest; */ public class _ParagraphPropertiesComplex extends MultiPropertyTest { - + protected PropertyTester WritingModeTester = new PropertyTester() { protected Object getNewValue(String propName, Object oldValue) { if ((oldValue != null) && (oldValue.equals(new Short(com.sun.star.text.WritingMode2.LR_TB)))) return new Short(com.sun.star.text.WritingMode2.PAGE); else return new Short(com.sun.star.text.WritingMode2.LR_TB); } - } ; - + } ; + public void _WritingMode() { log.println("Testing with custom Property tester") ; testProperty("WritingMode", WritingModeTester) ; - } + } } // finish class _ParagraphPropertiesComplex |