summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 12:18:20 +0200
committerNoel Grandin <noel@peralex.com>2014-08-08 09:48:19 +0200
commite5bc8b60ecfca09a2014ab7090659f3428c8efa0 (patch)
tree479fea82acab2e4fe48a796706b73b69a0a938e7 /sc
parentb58c053fed3c7e2e1e6a4195254e639976a3a809 (diff)
java: variable cannot be null
remove null check where null-analyis reveals the variable cannot be null Change-Id: Ied0a24665514bbf68c2ed5f15af9e5c2232a8033
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/complex/calcPreview/ViewForwarder.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/sc/qa/complex/calcPreview/ViewForwarder.java b/sc/qa/complex/calcPreview/ViewForwarder.java
index eee6d1c47ce0..b516c9fbcac0 100644
--- a/sc/qa/complex/calcPreview/ViewForwarder.java
+++ b/sc/qa/complex/calcPreview/ViewForwarder.java
@@ -948,11 +948,6 @@ public class ViewForwarder {
System.out.println("While waiting :" + e) ;
}
- if (xComp == null) {
- fail("loading document failed.");
- return;
- }
-
xSpreadsheetDoc = UnoRuntime.queryInterface(
XSpreadsheetDocument.class, xComp);
XModel aModel =