summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:53 -0400
commitd955148381be3496b091fab7c2335d080634d376 (patch)
treefed9feebbc3cf62cc75b7a5d7d11d4391ac66521 /wizards
parent1ca1ab42e7a7e7132375cb07745b33f635dd62e8 (diff)
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067) Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaDocument.py6
-rw-r--r--wizards/com/sun/star/wizards/agenda/TopicsControl.py4
-rw-r--r--wizards/com/sun/star/wizards/db/DBMetaData.java2
-rw-r--r--wizards/com/sun/star/wizards/fax/CallWizard.py2
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/DataAware.py2
-rw-r--r--wizards/com/sun/star/wizards/web/AbstractErrorHandler.py2
-rw-r--r--wizards/com/sun/star/wizards/web/FTPDialog.py2
-rw-r--r--wizards/com/sun/star/wizards/web/ImageListDialog.py2
-rw-r--r--wizards/com/sun/star/wizards/web/Process.py2
-rw-r--r--wizards/com/sun/star/wizards/web/ProcessErrorHandler.py4
-rw-r--r--wizards/com/sun/star/wizards/web/WWD_Events.py2
-rw-r--r--wizards/com/sun/star/wizards/web/WWD_General.py4
-rw-r--r--wizards/com/sun/star/wizards/web/WWD_Startup.py2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGDocument.py2
-rw-r--r--wizards/source/access2base/L10N.xba4
-rw-r--r--wizards/source/access2base/Utils.xba6
-rw-r--r--wizards/source/euro/Protect.xba4
-rw-r--r--wizards/source/formwizard/tools.xba2
-rw-r--r--wizards/source/tools/ModuleControls.xba4
-rw-r--r--wizards/source/tools/Strings.xba2
21 files changed, 31 insertions, 31 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
index 06cb6a33c1c0..3802732fb0c1 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
+++ b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
@@ -60,14 +60,14 @@ Tables contain *only* those pairs.<br/>
2.b. design is arbitrary.<br/>
As result the following limitations:<br/>
No column merge is allowed.<br/>
-One compolsary Heading row.<br/>
+One compulsory Heading row.<br/>
<br/><br/>
To let the template be flexible, we use a kind of "detection": we look where
the items are read the design of each table, reaplying it after writing the
table.self.xTextDocument
<br/><br/>
A note about threads:<br/>
-Many methods here are synchronized, in order to avoid colission made by
+Many methods here are synchronized, in order to avoid collision made by
events fired too often.
'''
class AgendaDocument(TextDocument):
@@ -791,7 +791,7 @@ class Topics(object):
in the preview document, in response to a change in the gui (by the user)
Since the structure of the topics table is flexible,
The Topics object, which analyzed the structure of the topics table upon
- initialization, refreshes the approperiate cell.
+ initialization, refreshes the appropriate cell.
'''
def writeCell(self, row, column, data):
# if the whole row should be written...
diff --git a/wizards/com/sun/star/wizards/agenda/TopicsControl.py b/wizards/com/sun/star/wizards/agenda/TopicsControl.py
index 5c83ba39167c..149faba9c840 100644
--- a/wizards/com/sun/star/wizards/agenda/TopicsControl.py
+++ b/wizards/com/sun/star/wizards/agenda/TopicsControl.py
@@ -41,7 +41,7 @@ Once the row is not blank (thus, the user entered data...),
a new blank row is added.<br/>
Once the user removes the last *unempty* row, binsertRowy deleting its data, it becomes
the *last empty row* and the one after is being automatically removed.<br/><br/>
-The contorl shows 5 rows at a time.<br/>
+The control shows 5 rows at a time.<br/>
If, for example, only 2 rows exist (from which the 2ed one is empty...)
then the other three rows, which do not exist in the data model, are disabled.
<br/>
@@ -367,7 +367,7 @@ class TopicsControl(ControlScroller):
if (guiRow + self.nscrollvalue) \
== len(self.scrollfields) - 2:
self.removeLastRow()
- '''now consequentially check the last two rows,
+ '''now consequently check the last two rows,
and remove the last one if they are both empty.
(actually I check always the "before last" row,
because the last one is always empty...
diff --git a/wizards/com/sun/star/wizards/db/DBMetaData.java b/wizards/com/sun/star/wizards/db/DBMetaData.java
index 0b03f0453024..99b48405b1d1 100644
--- a/wizards/com/sun/star/wizards/db/DBMetaData.java
+++ b/wizards/com/sun/star/wizards/db/DBMetaData.java
@@ -363,7 +363,7 @@ public class DBMetaData
WidthList[15][0] = DataType.TIME; // == 92;
WidthList[16][0] = DataType.TIMESTAMP; // == 93;
// NumericTypes are all types where aggregate functions can be performed on.
- // Similarly to a major competitor date/time/timmestamp fields are not included
+ // Similarly to a major competitor date/time/timestamp fields are not included
}
diff --git a/wizards/com/sun/star/wizards/fax/CallWizard.py b/wizards/com/sun/star/wizards/fax/CallWizard.py
index 405c2c3c62cf..ca222132f9ff 100644
--- a/wizards/com/sun/star/wizards/fax/CallWizard.py
+++ b/wizards/com/sun/star/wizards/fax/CallWizard.py
@@ -68,7 +68,7 @@ class CallWizard(unohelper.Base, XJobExecutor, XServiceInfo):
g_ImplementationHelper.addImplementation( \
CallWizard, # UNO object class
- g_implName, # implemtenation name
+ g_implName, # implementation name
("com.sun.star.task.Job",),) # list of implemented services
# (the only service)
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
index 9c723c5f9deb..acc05d767c3a 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
@@ -1561,7 +1561,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
}
/**
- * load the given string as a template and use it's content to paint the other
+ * load the given string as a template and use its content to paint the other
*/
public void loadAndSetBackgroundTemplate(String LayoutTemplatePath)
{
diff --git a/wizards/com/sun/star/wizards/ui/event/DataAware.py b/wizards/com/sun/star/wizards/ui/event/DataAware.py
index 3ae8d052fe1a..74ff09415f2d 100644
--- a/wizards/com/sun/star/wizards/ui/event/DataAware.py
+++ b/wizards/com/sun/star/wizards/ui/event/DataAware.py
@@ -30,7 +30,7 @@ It is used as listener on UI events, to keep the DataObject up to date.
This class, as a base abstract class, sets a frame of functionality,
delegating the data Object get/set methods to a Value object,
and leaving the UI get/set methods abstract.
-Note that event listenning is *not* a part of this model.
+Note that event listening is *not* a part of this model.
the updateData() or updateUI() methods should be porogramatically called.
in child classes, the updateData() will be binded to UI event calls.
<br><br>
diff --git a/wizards/com/sun/star/wizards/web/AbstractErrorHandler.py b/wizards/com/sun/star/wizards/web/AbstractErrorHandler.py
index 52fb229747d9..6fb858d8c742 100644
--- a/wizards/com/sun/star/wizards/web/AbstractErrorHandler.py
+++ b/wizards/com/sun/star/wizards/web/AbstractErrorHandler.py
@@ -30,7 +30,7 @@ from com.sun.star.awt.VclWindowPeerAttribute import YES_NO, DEF_NO, DEF_YES
# uses a renderer method geMessageFor(Exception, Object, int, int)
# (in this class still abstract...)
# to render the errors, and displays
-# error messeges.
+# error messages.
class AbstractErrorHandler(ErrorHandler):
xmsf = None
diff --git a/wizards/com/sun/star/wizards/web/FTPDialog.py b/wizards/com/sun/star/wizards/web/FTPDialog.py
index 673102a298db..63d3f2cb0f66 100644
--- a/wizards/com/sun/star/wizards/web/FTPDialog.py
+++ b/wizards/com/sun/star/wizards/web/FTPDialog.py
@@ -43,7 +43,7 @@ from com.sun.star.ucb.OpenMode import FOLDERS
# (*) choosing a directory on the server.
# If a connection was established successfully, the user may
# press OK, which will change
-# the CGPublish object propertiers according the user's input.
+# the CGPublish object properties according the user's input.
# If no connection was established. the OK and Choose-Dir button are disabled.
# See the method "disconnect()" which disables them.
#
diff --git a/wizards/com/sun/star/wizards/web/ImageListDialog.py b/wizards/com/sun/star/wizards/web/ImageListDialog.py
index 156ea150f74f..1db10788a9f4 100644
--- a/wizards/com/sun/star/wizards/web/ImageListDialog.py
+++ b/wizards/com/sun/star/wizards/web/ImageListDialog.py
@@ -46,7 +46,7 @@ to enable choosing images that are not in the list and
so dialogs which do not need those, should set the corresponding
members showDeselectButton and/or showOtherButton to false.
<br/>
-the consturctor should receive, among others, an Array of String resources
+the constructor should receive, among others, an Array of String resources
see constructor documentation for details.
@author rpiterman
diff --git a/wizards/com/sun/star/wizards/web/Process.py b/wizards/com/sun/star/wizards/web/Process.py
index 85c8f9b97762..a3c76f98b56b 100644
--- a/wizards/com/sun/star/wizards/web/Process.py
+++ b/wizards/com/sun/star/wizards/web/Process.py
@@ -299,7 +299,7 @@ class Process(ProcessErrors):
# copies layout files which are not .xsl files
# to the target directory.
- # @param ucb UCB encapsulatzion object
+ # @param ucb UCB encapsulation object
# @param fileAccess filaAccess encapsulation object
# @param settings web wizard settings
# @param layout the layout object
diff --git a/wizards/com/sun/star/wizards/web/ProcessErrorHandler.py b/wizards/com/sun/star/wizards/web/ProcessErrorHandler.py
index 84201d323f4f..2b2d279428d5 100644
--- a/wizards/com/sun/star/wizards/web/ProcessErrorHandler.py
+++ b/wizards/com/sun/star/wizards/web/ProcessErrorHandler.py
@@ -19,10 +19,10 @@ from .ProcessErrors import ProcessErrors
from .AbstractErrorHandler import AbstractErrorHandler
from .WebWizardConst import *
-# used to interact error accuring when generating the
+# used to interact error occurring when generating the
# web-site to the user.
# This class renders the different errors,
-# replaceing some strings from the resources with
+# replacing some strings from the resources with
# content of the given arguments, depending on the error
# that accured.
class ProcessErrorHandler(AbstractErrorHandler, ProcessErrors):
diff --git a/wizards/com/sun/star/wizards/web/WWD_Events.py b/wizards/com/sun/star/wizards/web/WWD_Events.py
index cbb4dff9f3c6..51871eb95cf8 100644
--- a/wizards/com/sun/star/wizards/web/WWD_Events.py
+++ b/wizards/com/sun/star/wizards/web/WWD_Events.py
@@ -278,7 +278,7 @@ class WWD_Events(WWD_Startup):
# update the list to show the right selection.
self.docListDA.updateUI()
- # disables all the next steps, if the list of docuemnts
+ # disables all the next steps, if the list of documents
# is empty.
self.checkSteps()
diff --git a/wizards/com/sun/star/wizards/web/WWD_General.py b/wizards/com/sun/star/wizards/web/WWD_General.py
index 4cdbee62d68e..96d72e92c919 100644
--- a/wizards/com/sun/star/wizards/web/WWD_General.py
+++ b/wizards/com/sun/star/wizards/web/WWD_General.py
@@ -180,7 +180,7 @@ class WWD_General(WebWizardDialog):
def enableSteps(self, enabled):
if not enabled and not self.isStepEnabled(3):
- #disbale steps 3-7
+ #disable steps 3-7
return
for i in range(3,8):
@@ -294,7 +294,7 @@ class WWD_General(WebWizardDialog):
'''
substitutes path variables with the corresponding values.
@param path a path, which might contain OOo path variables.
- @return the path, after substituing path variables.
+ @return the path, after substituting path variables.
'''
def substitute(self, path):
diff --git a/wizards/com/sun/star/wizards/web/WWD_Startup.py b/wizards/com/sun/star/wizards/web/WWD_Startup.py
index 3d15335c6036..c789c19e5038 100644
--- a/wizards/com/sun/star/wizards/web/WWD_Startup.py
+++ b/wizards/com/sun/star/wizards/web/WWD_Startup.py
@@ -94,7 +94,7 @@ class WWD_Startup(WWD_General):
check the content (documents) specified in the default session.<br/>
fill the list boxes (saved sessions, styles, combobox save session). <br/>
make data aware. <br/>
- updateUI (refreshes the display to crrespond to the data in
+ updateUI (refreshes the display to correspond to the data in
the default session.)<br/>
fill the documents listbox. <br/>
if proxies are set, disable the ftp controls in step 7.
diff --git a/wizards/com/sun/star/wizards/web/data/CGDocument.py b/wizards/com/sun/star/wizards/web/data/CGDocument.py
index 9ae627e7016d..59ec90dc9b6d 100644
--- a/wizards/com/sun/star/wizards/web/data/CGDocument.py
+++ b/wizards/com/sun/star/wizards/web/data/CGDocument.py
@@ -30,7 +30,7 @@ from com.sun.star.document.UpdateDocMode import NO_UPDATE
'''
About the member fields Title, Description and Author:
-There is an ambiguicy in handling these fields.
+There is an ambiguity in handling these fields.
On the one hand, the user can set those fields to a custom value,
relevant only for the web-wizard.
On the other-hand, the web-wizard can read those fields automatically
diff --git a/wizards/source/access2base/L10N.xba b/wizards/source/access2base/L10N.xba
index 4034b0a0f3a8..661e286286d4 100644
--- a/wizards/source/access2base/L10N.xba
+++ b/wizards/source/access2base/L10N.xba
@@ -164,7 +164,7 @@ Dim sLocal As String
Case &quot;ERR&quot; &amp; ERRMETHOD : sLocal = &quot;La méthode &apos;%0&apos; n&apos;est pas applicable dans ce contexte&quot;
Case &quot;ERR&quot; &amp; ERRPROPERTYINIT : sLocal = &quot;Propriété &apos;%0&apos; applicable mais non initialisée&quot;
Case &quot;ERR&quot; &amp; ERRFILENOTCREATED : sLocal = &quot;Erreur de création du fichier &apos;%0&apos;&quot;
- Case &quot;ERR&quot; &amp; ERRDIALOGNOTFOUND : sLocal = &quot;Dialogue &apos;%0&apos; introuvable dans les librairies chargées actuellement&quot;
+ Case &quot;ERR&quot; &amp; ERRDIALOGNOTFOUND : sLocal = &quot;Dialogue &apos;%0&apos; introuvable dans les libraries chargées actuellement&quot;
Case &quot;ERR&quot; &amp; ERRDIALOGUNDEFINED : sLocal = &quot;Boîte de dialogue inconnue&quot;
Case &quot;ERR&quot; &amp; ERRDIALOGSTARTED : sLocal = &quot;Dialogue déjà initialisé précédemment&quot;
Case &quot;ERR&quot; &amp; ERRDIALOGNOTSTARTED : sLocal = &quot;Dialogue &apos;%0&apos; non initialisé&quot;
@@ -297,4 +297,4 @@ Dim oLocale as Object
End Function &apos; GetLocale V0.8.9
-</script:module> \ No newline at end of file
+</script:module>
diff --git a/wizards/source/access2base/Utils.xba b/wizards/source/access2base/Utils.xba
index dcc1b4cfe400..dd639d513e25 100644
--- a/wizards/source/access2base/Utils.xba
+++ b/wizards/source/access2base/Utils.xba
@@ -597,13 +597,13 @@ Private Function _PercentEncode(ByVal psChar As String) As String
Dim lChar As Long, sByte1 As String, sByte2 As String, sByte3 As String
lChar = Asc(psChar)
-
+
Select Case lChar
Case 48 To 57, 65 To 90, 97 To 122 &apos; 0-9, A-Z, a-z
_PercentEncode = psChar
Case Asc(&quot;-&quot;), Asc(&quot;.&quot;), Asc(&quot;_&quot;), Asc(&quot;~&quot;)
_PercentEncode = psChar
- Case Asc(&quot;!&quot;), Asc(&quot;$&quot;), Asc(&quot;&amp;&quot;), Asc(&quot;&apos;&quot;), Asc(&quot;(&quot;), Asc(&quot;)&quot;), Asc(&quot;*&quot;), Asc(&quot;+&quot;), Asc(&quot;,&quot;), Asc(&quot;;&quot;), Asc(&quot;=&quot;) &apos; Reserved characters used as delimitors in query strings
+ Case Asc(&quot;!&quot;), Asc(&quot;$&quot;), Asc(&quot;&amp;&quot;), Asc(&quot;&apos;&quot;), Asc(&quot;(&quot;), Asc(&quot;)&quot;), Asc(&quot;*&quot;), Asc(&quot;+&quot;), Asc(&quot;,&quot;), Asc(&quot;;&quot;), Asc(&quot;=&quot;) &apos; Reserved characters used as delimiters in query strings
_PercentEncode = psChar
Case Asc(&quot; &quot;), Asc(&quot;%&quot;)
_PercentEncode = &quot;%&quot; &amp; Right(&quot;00&quot; &amp; Hex(lChar), 2)
@@ -839,4 +839,4 @@ Private Function _UTF8Encode(ByVal psChar As String) As String
End Function &apos; _UTF8Encode V1.4.0
-</script:module> \ No newline at end of file
+</script:module>
diff --git a/wizards/source/euro/Protect.xba b/wizards/source/euro/Protect.xba
index 32badc3f5164..68ffc72f18ce 100644
--- a/wizards/source/euro/Protect.xba
+++ b/wizards/source/euro/Protect.xba
@@ -133,7 +133,7 @@ End Sub
&apos; Reprotects the previousliy protected sheets
-&apos; The passwordinformation is stored in the List &apos;UnProtectList()&apos;
+&apos; The password information is stored in the List &apos;UnProtectList()&apos;
Sub ReprotectSheets()
Dim i as Integer
Dim oProtectSheet as Object
@@ -189,4 +189,4 @@ Dim bProtectedSheets as Boolean
End If
Next i
CheckSheetProtection() = False
-End Function</script:module> \ No newline at end of file
+End Function</script:module>
diff --git a/wizards/source/formwizard/tools.xba b/wizards/source/formwizard/tools.xba
index 3bf6322e33a2..d6f8ed419c73 100644
--- a/wizards/source/formwizard/tools.xba
+++ b/wizards/source/formwizard/tools.xba
@@ -227,7 +227,7 @@ Function SetNumerics(ByVal oLocObject as Object, iLocFieldType as Integer) as Ob
oLocObject.DefaultTime = CurDefaultValue
&apos; Todo: Property TimeFormat? from where?
ElseIf CurControlType = cCheckBox Then
-&apos; Todo Why does this not work?: oLocObject.DefautState = CurDefaultValue
+&apos; Todo Why does this not work?: oLocObject.DefaultState = CurDefaultValue
End If
If oLocObject.PropertySetInfo.HasPropertybyName(&quot;FormatKey&quot;) Then
On Local Error Resume Next
diff --git a/wizards/source/tools/ModuleControls.xba b/wizards/source/tools/ModuleControls.xba
index 749ac1476ad9..96f23ad866d4 100644
--- a/wizards/source/tools/ModuleControls.xba
+++ b/wizards/source/tools/ModuleControls.xba
@@ -276,7 +276,7 @@ Dim FilterIndex as Integer
End If
On Local Error Goto NOSAVING
If FilterName = &quot;&quot; Then
- &apos; Todo: Catch the case that a document that has to be overwritten is writeportected (e.g. it is open)
+ &apos; Todo: Catch the case that a document that has to be overwritten is writeprotected (e.g. it is open)
oDocument.StoreAsUrl(sPath, NoArgs())
Else
oStoreProperties(0).Name = &quot;FilterName&quot;
@@ -384,4 +384,4 @@ Sub SetOVERWRITEToNever()
iGeneralOverwrite = SBOVERWRITENEVER
DlgOverwrite.EndExecute()
End Sub
-</script:module> \ No newline at end of file
+</script:module>
diff --git a/wizards/source/tools/Strings.xba b/wizards/source/tools/Strings.xba
index d05555fd9901..69389388251d 100644
--- a/wizards/source/tools/Strings.xba
+++ b/wizards/source/tools/Strings.xba
@@ -214,7 +214,7 @@ Dim a as Integer
End Sub
-&apos; Searches for a String in a two-dimensional Array by querying all Searchindexex of the second dimension
+&apos; Searches for a String in a two-dimensional Array by querying all Searchindexes of the second dimension
&apos; and delivers the specific String of the ReturnIndex in the second dimension of the Searchlist()
Function StringInMultiArray(SearchList(), SearchString as String, SearchIndex as Integer, ReturnIndex as Integer, Optional MaxIndex as Integer) as String
Dim i as integer