summaryrefslogtreecommitdiff
path: root/qadevOOo/tests
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-13 20:52:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-14 10:15:24 +0000
commit1d27eaf08334b2de15323b8a8a38bd4b6620a60e (patch)
tree5d84ca9fe28032c1b574cfd9b2a4094c3d101125 /qadevOOo/tests
parentf1f92d92ed7467d71db7d94d6e4aa40f65e8ddfc (diff)
coverity#1327161 UrF: Unread field
since commit 6eda3212ab539c2b5b37accf3a96ab100a79156a Author: Vladimir Glazounov <vg@openoffice.org> Date: Tue Nov 21 13:12:59 2006 +0000 INTEGRATION: CWS qadev27 (1.5.20); FILE MERGED 2006/06/26 07:05:08 cn 1.5.20.1: #i66737# enhancements on property 'NumberingRuels'. Now the test checks also of correct XIndexReplace values Change-Id: I7e4a59e9b6d7cce044269af37f47fe75b65c56f7
Diffstat (limited to 'qadevOOo/tests')
-rw-r--r--qadevOOo/tests/java/ifc/style/_ParagraphProperties.java43
1 files changed, 0 insertions, 43 deletions
diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java
index 178f6e2ca3f4..d70e916381a7 100644
--- a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java
+++ b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java
@@ -211,49 +211,6 @@ public class _ParagraphProperties extends MultiPropertyTest {
}
};
- protected PropertyTester rules = null;
-
- /**
- * Creates tester for 'NumberingRules' depending on relation.
- */
- @Override
- public void before() {
- final Object nRules = tEnv.getObjRelation("NRULES");
-
- if (nRules != null) {
- rules = new PropertyTester() {
- @Override
- protected Object getNewValue(String propName, Object oldValue) {
- return nRules;
- }
- };
-
- } else {
- Object rules1 = null;
- Object rules2 = null;
-
- try {
- oObj.setPropertyValue("NumberingStyleName", "Numbering 1");
- rules1 = oObj.getPropertyValue("NumberingRules");
- oObj.setPropertyValue("NumberingStyleName", "Numbering 2");
- rules2 = oObj.getPropertyValue("NumberingRules");
- } catch (com.sun.star.lang.WrappedTargetException e) {
- log.println("WARNING !!! Exception getting numbering rules :");
- e.printStackTrace(log);
- } catch (com.sun.star.lang.IllegalArgumentException e) {
- log.println("WARNING !!! Exception getting numbering rules :");
- e.printStackTrace(log);
- } catch (com.sun.star.beans.PropertyVetoException e) {
- log.println("WARNING !!! Exception getting numbering rules :");
- e.printStackTrace(log);
- } catch (com.sun.star.beans.UnknownPropertyException e) {
- log.println("Property 'NumberingStyleName' is not supported.");
- }
-
- rules = new PropertyValueSwitcher(rules1, rules2);
- }
- }
-
/**
* Tested with custom property tester.
*/