summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-10-01 15:45:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-01 20:05:49 +0000
commit0d4996862b5df79fd601eff6193d5718f8f84047 (patch)
tree9ec8b740d17219de71d10f9fd311f8a1a888202a /scripting
parent441fa1c03664081d76bf6007c4ac0aee32f56342 (diff)
Fix typos
Change-Id: I9701cc93a9f4315e71c133237fdd96ef6964c8ff Reviewed-on: https://gerrit.libreoffice.org/29438 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scripting')
-rw-r--r--scripting/examples/beanshell/Capitalise/capitalise.bsh2
-rw-r--r--scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java2
-rw-r--r--scripting/source/basprov/basscript.hxx2
-rw-r--r--scripting/source/provider/ActiveMSPList.cxx2
-rw-r--r--scripting/source/provider/MasterScriptProvider.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/scripting/examples/beanshell/Capitalise/capitalise.bsh b/scripting/examples/beanshell/Capitalise/capitalise.bsh
index 206a84910ee6..6b68e010f29f 100644
--- a/scripting/examples/beanshell/Capitalise/capitalise.bsh
+++ b/scripting/examples/beanshell/Capitalise/capitalise.bsh
@@ -63,7 +63,7 @@ void capitalise() {
UnoRuntime.queryInterface(XText.class, xTextRange.getText());
xWordCursor = (XWordCursor)
UnoRuntime.queryInterface(XWordCursor.class, xText.createTextCursorByRange(xTextRange));
- // move the Word cursor to the start of the word if its not
+ // move the Word cursor to the start of the word if it's not
// already there
if(!xWordCursor.isStartOfWord()) {
xWordCursor.gotoStartOfWord(false);
diff --git a/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java b/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java
index 004fe2b181e9..6341b51d4e4a 100644
--- a/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java
+++ b/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java
@@ -137,7 +137,7 @@ public class ScriptMetaData extends ScriptEntry {
}
} else if (pathToParcel.contains(UNO_SHARED_PACKAGES1) ||
pathToParcel.contains(UNO_SHARED_PACKAGES2)) {
- //its a package
+ //it's a package
placeHolder = "share:uno_packages";
String unoPkg = parent.parent.getName();
diff --git a/scripting/source/basprov/basscript.hxx b/scripting/source/basprov/basscript.hxx
index cf964a8cdc0a..cf530d69f22b 100644
--- a/scripting/source/basprov/basscript.hxx
+++ b/scripting/source/basprov/basscript.hxx
@@ -57,7 +57,7 @@ namespace basprov
m_xDocumentScriptContext;
// hack, OPropertyContainer doesn't allow you to define a property of unknown
// type ( I guess because an Any can't contain an Any... I've always wondered why?
- // as its not unusual to do that in corba )
+ // as it's not unusual to do that in corba )
css::uno::Sequence< css::uno::Any > m_caller;
protected:
// OPropertySetHelper
diff --git a/scripting/source/provider/ActiveMSPList.cxx b/scripting/source/provider/ActiveMSPList.cxx
index a591ee5b9ced..5859b4b6eef5 100644
--- a/scripting/source/provider/ActiveMSPList.cxx
+++ b/scripting/source/provider/ActiveMSPList.cxx
@@ -103,7 +103,7 @@ ActiveMSPList::getMSPFromAnyContext( const Any& aContext )
try
{
// the component supports executing scripts embedded in a - possibly foreign document.
- // Check whether this other document its the component itself.
+ // Check whether this other document it's the component itself.
if ( !xModel.is() || ( xModel != xScriptContext->getScriptContainer() ) )
{
msp = getMSPFromInvocationContext( xScriptContext );
diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx
index df823d8c5fa0..7c6157d4d7b4 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -304,7 +304,7 @@ throw ( provider::ScriptFrameworkErrorException,
Reference< provider::XScript > xScript;
// If the script location is in the same location context as this
- // MSP then delete to the lanaguage provider controlled by this MSP
+ // MSP then delete to the language provider controlled by this MSP
// ** Special case is BASIC, all calls to getScript will be handled
// by the language script provider in the current location context
// even if its different