summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScModelObj.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScModelObj.java b/qadevOOo/tests/java/mod/_sc/ScModelObj.java
index 6dd93942ff6b..c18e4531f213 100644
--- a/qadevOOo/tests/java/mod/_sc/ScModelObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScModelObj.java
@@ -194,6 +194,9 @@ public class ScModelObj extends TestCase {
oSheet.getCellByPosition(5, 5),
oSheet.getCellByPosition(6, 5)
};
+
+ // Make sure there are at least two sheets:
+ oSheets.insertNewByName("Some Sheet", (short) 1);
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace(log);
throw new StatusException(