Kaydet (Commit) 0210ec32 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix one more test that implicitly assumes more than one Calc sheet

...in the vein of e43966b2 "Fix up unit tests
that assumed two or more sheets per default"

Change-Id: I450f561721edeaa6855499d20c2196ceb8d2f546
üst e43966b2
...@@ -194,6 +194,9 @@ public class ScModelObj extends TestCase { ...@@ -194,6 +194,9 @@ public class ScModelObj extends TestCase {
oSheet.getCellByPosition(5, 5), oSheet.getCellByPosition(5, 5),
oSheet.getCellByPosition(6, 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) { } catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace(log); e.printStackTrace(log);
throw new StatusException( throw new StatusException(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment