summaryrefslogtreecommitdiff
path: root/scripting/source
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source')
-rw-r--r--scripting/source/provider/MasterScriptProvider.cxx2
-rw-r--r--scripting/source/provider/ScriptImpl.cxx2
-rw-r--r--scripting/source/pyprov/msgbox.py4
-rw-r--r--scripting/source/pyprov/pythonscript.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx
index e63236f5ef17..1f1ad5cc788b 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -137,7 +137,7 @@ throw ( Exception, RuntimeException, std::exception )
{
// from the arguments, we were able to deduce a model. That alone doesn't
// suffice, we also need an XEmbeddedScripts which actually indicates support
- // for embeddeding scripts
+ // for embedding scripts
Reference< XEmbeddedScripts > xScripts( m_xModel, UNO_QUERY );
if ( !xScripts.is() )
{
diff --git a/scripting/source/provider/ScriptImpl.cxx b/scripting/source/provider/ScriptImpl.cxx
index 5fa3d5ea833e..b3cb96f29cbc 100644
--- a/scripting/source/provider/ScriptImpl.cxx
+++ b/scripting/source/provider/ScriptImpl.cxx
@@ -38,7 +38,7 @@ throw ( RuntimeException ) :
m_RunTimeManager( runtimeMgr, UNO_SET_THROW ),
m_ScriptURI( scriptURI )
{
- SAL_INFO("scripting.provider", "<!constucting a ScriptImpl>" );
+ SAL_INFO("scripting.provider", "<!constructing a ScriptImpl>" );
}
diff --git a/scripting/source/pyprov/msgbox.py b/scripting/source/pyprov/msgbox.py
index 16405f719412..3f2be64f4d13 100644
--- a/scripting/source/pyprov/msgbox.py
+++ b/scripting/source/pyprov/msgbox.py
@@ -8,7 +8,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-# prepare pythoin environnement - Add the path of this class
+# prepare Python environment - Add the path of this class
from os import path
from sys import modules
from sys import path as syspath
@@ -30,7 +30,7 @@ from com.sun.star.awt.TextAlign import RIGHT as right
from com.sun.star.awt import XActionListener
class MsgBox(unohelper.Base):
- """Inspect UNO object, link to sdk and recusrsive calls"""
+ """Inspect UNO object, link to sdk and recursive calls"""
def __init__(self, aContext):
"""acontext : a Valid UNO context
diff --git a/scripting/source/pyprov/pythonscript.py b/scripting/source/pyprov/pythonscript.py
index c62c22872f9c..a2fc4f055a10 100644
--- a/scripting/source/pyprov/pythonscript.py
+++ b/scripting/source/pyprov/pythonscript.py
@@ -81,7 +81,7 @@ def getLogTarget():
systemPath = uno.fileUrlToSystemPath( userInstallation + "/Scripts/python/log.txt" )
ret = open( systemPath , "a" )
except:
- print("Exception during creation of pythonscript logfile: "+ lastException2String() + "\n, delagating log to stdout\n")
+ print("Exception during creation of pythonscript logfile: "+ lastException2String() + "\n, delegating log to stdout\n")
return ret
class Logger(LogLevel):