Remove visual noise from scripting

Change-Id: Id9f177a20d911ce1e041407aa556c9cf13f0efc8
Reviewed-on: https://gerrit.libreoffice.org/8305
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Alexander Wilms
2014-02-25 20:05:49 +01:00
committed by Caolán McNamara
parent e6bd9d718d
commit b0308236d2
36 changed files with 244 additions and 244 deletions

View File

@@ -134,7 +134,7 @@ public class Parcel implements XNameContainer
// TODO at the moment this returns void indicating
// type is unknown ( from UNO point of view this is correct )
// but, maybe we want to have a private UNO interface
//
return new Type();
}

View File

@@ -99,7 +99,7 @@ public class ScriptContext extends PropertySet implements XScriptContext
return sc;
}
//----------------------------------------------------------------------
/**
Obtain the document reference on which the script can operate

View File

@@ -31,19 +31,19 @@ importClass(Packages.com.sun.star.frame.XModel);
// to all JavaScript scripts in the global variable "XSCRIPTCONTEXT". This
// 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
// XSCRIPTCONTEXT.getDesktop() returns XDesktop
// XSCRIPTCONTEXT.getComponentContext() returns XComponentContext
//
// For more information on using this class see the scripting
// developer guides at:
//
// http://api.libreoffice.org/docs/DevelopersGuide/ScriptingFramework/ScriptingFramework.xhtml
//
oDoc = UnoRuntime.queryInterface(XModel,XSCRIPTCONTEXT.getInvocationContext());
if ( !oDoc )