diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-01-09 22:55:28 +0100 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2016-01-10 14:17:20 +0000 |
commit | 64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch) | |
tree | 772fc0f308549b9416fbcb06bce2bf0e0f5809cc /scripting | |
parent | d61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff) |
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'scripting')
10 files changed, 13 insertions, 13 deletions
diff --git a/scripting/examples/basic/SearchAndReplace.xba b/scripting/examples/basic/SearchAndReplace.xba index fb7c60bd4f22..24c61d8e9a40 100644 --- a/scripting/examples/basic/SearchAndReplace.xba +++ b/scripting/examples/basic/SearchAndReplace.xba @@ -82,13 +82,13 @@ Sub getInfoFromDialog Dim oFoundCursor As Object Dim oSearchText as Object Dim oReplaceText as Object - + ' Create a document object for the current document then create text and ' cursor objects oDocument = StarDesktop.ActiveFrame.Controller.Model oSearch = oDocument.createSearchDescriptor - ' Replace all instances of the search string with the replavce string + ' Replace all instances of the search string with the replace string oSearch.SearchString = getSearchKey() oSearch.ReplaceString = getReplaceKey() oDocument.replaceAll(oSearch) @@ -123,4 +123,4 @@ Function getReplaceKey() as String oReplaceText = oDialog.GetControl("ReplaceKeyTextBox") sReplace = oReplaceText.Text getReplaceKey = sReplace -End Function</script:module>
\ No newline at end of file +End Function</script:module> diff --git a/scripting/examples/java/Newsgroup/PostNewsgroup.java b/scripting/examples/java/Newsgroup/PostNewsgroup.java index 8c76331abd87..6c6ecdf3729d 100644 --- a/scripting/examples/java/Newsgroup/PostNewsgroup.java +++ b/scripting/examples/java/Newsgroup/PostNewsgroup.java @@ -92,7 +92,7 @@ public class PostNewsgroup extends JFrame { }); Container container = getContentPane(); - container.setLayout(new GridBagLayout());; + container.setLayout(new GridBagLayout()); GridBagConstraints constraints = new GridBagConstraints(); constraints.fill = GridBagConstraints.BOTH; diff --git a/scripting/java/com/sun/star/script/framework/browse/ProviderBrowseNode.java b/scripting/java/com/sun/star/script/framework/browse/ProviderBrowseNode.java index 17064de55830..91c2566be5ae 100644 --- a/scripting/java/com/sun/star/script/framework/browse/ProviderBrowseNode.java +++ b/scripting/java/com/sun/star/script/framework/browse/ProviderBrowseNode.java @@ -82,7 +82,7 @@ public class ProviderBrowseNode extends PropertySet implements creatable = false; } } - // TODO propage errors + // TODO propagate errors catch (com.sun.star.uno.Exception e) { LogUtils.DEBUG("Caught exception in creation of ProviderBrowseNode "); LogUtils.DEBUG(LogUtils.getTrace(e)); diff --git a/scripting/java/com/sun/star/script/framework/io/XStorageHelper.java b/scripting/java/com/sun/star/script/framework/io/XStorageHelper.java index 669c7b70c97d..7d5b9001e8dc 100644 --- a/scripting/java/com/sun/star/script/framework/io/XStorageHelper.java +++ b/scripting/java/com/sun/star/script/framework/io/XStorageHelper.java @@ -241,7 +241,7 @@ public class XStorageHelper implements XEventListener { try { xTrans.commit(); } catch (Exception e) { - LogUtils.DEBUG("Something went bellyup exception: " + e); + LogUtils.DEBUG("Something went belly up exception: " + e); } } } diff --git a/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java b/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java index dcf173ab4aba..9e7c4b63d7b8 100644 --- a/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java +++ b/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java @@ -243,7 +243,7 @@ public abstract class ScriptProvider implements LogUtils.DEBUG("isPkgProvider is: " + isPkgProvider); // TODO should all be done in this class instead of - // deleagation???? + // delegation???? m_xBrowseNodeProxy = new ProviderBrowseNode(this, m_container, m_xContext); diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java b/scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java index 4d97d43c4718..945b3bc00a91 100644 --- a/scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java +++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java @@ -62,7 +62,7 @@ public class PlainSourceView extends JScrollPane implements try { ta.setCaretPosition(pos); } catch (IllegalArgumentException iae) { - // do nothing and allow JTextArea to set it's own position + // do nothing and allow JTextArea to set its own position } } 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): |