summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-20 14:33:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-20 19:02:59 +0200
commit51a596866d31544c75ca0f7314c4ffc8258c32d8 (patch)
treedb5e157338abb6d54ff0ec0f1b08359b1596e8b9 /scripting
parentda6f7b73627e699c3c05077fe89fc66e97af6246 (diff)
cid#1448526 RANGE: Range checks
Change-Id: I3b9d9c648151b2a5b9cc6a015b88a59fa7ec4e53 Reviewed-on: https://gerrit.libreoffice.org/76003 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'scripting')
-rw-r--r--scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
index 8291231e734f..078f63395384 100644
--- a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
+++ b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
@@ -226,7 +226,7 @@ public class SecurityDialog extends WeakBase implements
// XServiceInfo
public String[] getSupportedServiceNames() {
- String[] retValue = new String[0];
+ String[] retValue = new String[1];
retValue[0] = __serviceName;
return retValue;
}