summaryrefslogtreecommitdiff
path: root/extensions/test/ole/callUnoToJava.htm
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/test/ole/callUnoToJava.htm')
-rw-r--r--extensions/test/ole/callUnoToJava.htm26
1 files changed, 20 insertions, 6 deletions
diff --git a/extensions/test/ole/callUnoToJava.htm b/extensions/test/ole/callUnoToJava.htm
index fdc690d7ebfb..481835e9897d 100644
--- a/extensions/test/ole/callUnoToJava.htm
+++ b/extensions/test/ole/callUnoToJava.htm
@@ -1,3 +1,20 @@
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+-->
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Developer Studio">
@@ -8,11 +25,11 @@
<script language="JScript">
function callOleTest( id)
-{
+{
var factory= new ActiveXObject("com.sun.star.ServiceManager");
var oletest= factory.createInstance("oletest.OleTest");
// alert(oletest);
-
+
switch( id)
{
case 1: // Test simple call of JScript object function from UNO
@@ -144,7 +161,6 @@ function callOleTest( id)
function XCallback_Impl()
{
-
// XCallback
this._environment= "JScript";
@@ -246,7 +262,7 @@ function XCallback_Impl_outAny( outVal)
function XCallback_Impl_outBool( outVal)
{
outVal[0]= true;
-}
+}
function XCallback_Impl_outChar( outVal)
{
outVal[0]= "a";
@@ -534,5 +550,3 @@ Other tests with inout parameters <br>
</body>
</html>
-
-