summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/chart/_XChartDataArray.java')
-rw-r--r--qadevOOo/tests/java/ifc/chart/_XChartDataArray.java29
1 files changed, 15 insertions, 14 deletions
diff --git a/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java b/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
index 14e811efd67a..99a41b5df2f3 100644
--- a/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
+++ b/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
@@ -56,23 +56,24 @@ public class _XChartDataArray extends MultiMethodTest {
mbExcludeSetRowAndSetColumn = true;
msExcludeMessage = (String)o;
}
- if (!mbExcludeSetRowAndSetColumn) {
- XPropertySet xProp = UnoRuntime.queryInterface(XPropertySet.class, oObj);
- if(xProp != null) {
- try {
- boolean columnAsLabel = ((Boolean)xProp.getPropertyValue("ChartColumnAsLabel")).booleanValue();
- boolean rowAsLabel = ((Boolean)xProp.getPropertyValue("ChartRowAsLabel")).booleanValue();
- if (!columnAsLabel) {
- xProp.setPropertyValue("ChartColumnAsLabel", Boolean.TRUE);
- }
- if (!rowAsLabel) {
- xProp.setPropertyValue("ChartRowAsLabel", Boolean.TRUE);
- }
+ if (mbExcludeSetRowAndSetColumn) {
+ return;
+ }
+ XPropertySet xProp = UnoRuntime.queryInterface(XPropertySet.class, oObj);
+ if(xProp != null) {
+ try {
+ boolean columnAsLabel = ((Boolean)xProp.getPropertyValue("ChartColumnAsLabel")).booleanValue();
+ boolean rowAsLabel = ((Boolean)xProp.getPropertyValue("ChartRowAsLabel")).booleanValue();
+ if (!columnAsLabel) {
+ xProp.setPropertyValue("ChartColumnAsLabel", Boolean.TRUE);
}
- catch(Exception e) {
- // ignore
+ if (!rowAsLabel) {
+ xProp.setPropertyValue("ChartRowAsLabel", Boolean.TRUE);
}
}
+ catch(Exception e) {
+ // ignore
+ }
}
}