From 51a596866d31544c75ca0f7314c4ffc8258c32d8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 20 Jul 2019 14:33:57 +0100 Subject: cid#1448526 RANGE: Range checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3b9d9c648151b2a5b9cc6a015b88a59fa7ec4e53 Reviewed-on: https://gerrit.libreoffice.org/76003 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- .../com/sun/star/script/framework/security/SecurityDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripting') 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; } -- cgit