summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authordennisroczek <dennisroczek@libreoffice.org>2018-04-02 15:11:58 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2018-04-02 22:25:53 +0200
commite39c75b05c9ff865768e7f2694e5369cc35aa23b (patch)
tree5c1a1e759d22354c2964b86c78da564d866af639 /scripting
parent91af9a53df79d256dc6a02c900fa570fe10d63ad (diff)
use https links for api.libreoffice.org and opengrok
Change-Id: I74dd0142562cb8698f19b2715fa1d514f82bd749 Reviewed-on: https://gerrit.libreoffice.org/52262 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'scripting')
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/beanshell/template.bsh8
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/javascript/template.js4
2 files changed, 6 insertions, 6 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/template.bsh b/scripting/java/com/sun/star/script/framework/provider/beanshell/template.bsh
index 9a1ad0939a44..a0c49a2e240c 100644
--- a/scripting/java/com/sun/star/script/framework/provider/beanshell/template.bsh
+++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/template.bsh
@@ -20,7 +20,7 @@
these classes and the OpenOffice.org API, see the OpenOffice.org
Developers Guide at:
- http://api.libreoffice.org/
+ https://api.libreoffice.org/
*/
import com.sun.star.uno.UnoRuntime;
@@ -34,7 +34,7 @@ import com.sun.star.frame.XModel;
variable can be used to access the document for which this script
was invoked.
- Methods available are:
+ Methods available are:
XSCRIPTCONTEXT.getDocument() returns XModel
XSCRIPTCONTEXT.getInvocationContext() returns XScriptInvocationContext or NULL
@@ -44,9 +44,9 @@ import com.sun.star.frame.XModel;
For more information on using this class see the scripting
developer guides at:
- http://api.libreoffice.org/docs/DevelopersGuide/ScriptingFramework/ScriptingFramework.xhtml
+ https://api.libreoffice.org/docs/DevelopersGuide/ScriptingFramework/ScriptingFramework.xhtml
*/
-
+
// Hello World in BeanShell
import com.sun.star.text.XTextDocument;
import com.sun.star.text.XText;
diff --git a/scripting/java/com/sun/star/script/framework/provider/javascript/template.js b/scripting/java/com/sun/star/script/framework/provider/javascript/template.js
index 51a700b0d242..939ba339cd7c 100644
--- a/scripting/java/com/sun/star/script/framework/provider/javascript/template.js
+++ b/scripting/java/com/sun/star/script/framework/provider/javascript/template.js
@@ -19,7 +19,7 @@
// Import standard OpenOffice.org API classes. For more information on
// these classes and the OpenOffice.org API, see the OpenOffice.org
// Developers Guide at:
-// http://api.libreoffice.org/
+// https://api.libreoffice.org/
importClass(Packages.com.sun.star.uno.UnoRuntime);
importClass(Packages.com.sun.star.text.XTextDocument);
@@ -42,7 +42,7 @@ importClass(Packages.com.sun.star.frame.XModel);
// For more information on using this class see the scripting
// developer guides at:
-// http://api.libreoffice.org/docs/DevelopersGuide/ScriptingFramework/ScriptingFramework.xhtml
+// https://api.libreoffice.org/docs/DevelopersGuide/ScriptingFramework/ScriptingFramework.xhtml
oDoc = UnoRuntime.queryInterface(XModel,XSCRIPTCONTEXT.getInvocationContext());