summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-15 12:07:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-15 15:47:17 +0200
commitfd55c09ebab3827847d69112a8786a3413d42db2 (patch)
treec07c102bac47b59c9e6dbdfc90923d342d948e7c /qadevOOo/tests/java/ifc/ucb
parentde44936e61dbd0a0b1d397717f58319f7c0075d5 (diff)
cid#1448277 RV: Bad use of return value
Change-Id: I68fdfc59de2d2590730abaae8b16bfe92e1693b2 Reviewed-on: https://gerrit.libreoffice.org/75629 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'qadevOOo/tests/java/ifc/ucb')
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java b/qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java
index 0207c3c77a9e..957901775e51 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java
@@ -150,7 +150,7 @@ public class _XContentProviderManager extends MultiMethodTest {
log.println("registering the second provider in non-replacing mode");
try {
oObj.registerContentProvider(contentProvider, myScheme, false);
- Status.failed("registerContentProvider(.., .., false)");
+ throw new StatusException(Status.failed("registerContentProvider(.., .., false)"));
} catch (DuplicateProviderException e) {
log.println("DuplicateProviderException thrown - OK");
}