summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java')
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java b/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java
index 082babb9956b..597e44cee045 100644
--- a/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java
+++ b/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java
@@ -164,7 +164,8 @@ public class _DrawingDocumentDrawView extends MultiPropertyTest {
}
log.println("oldZoomValue: "+oldValue);
log.println("newZoomValue: "+newValue);
- tRes.tested("ZoomType",(!oldValue.equals(newValue)));
+ if (oldValue != null)
+ tRes.tested("ZoomType",(!oldValue.equals(newValue)));
}
}