summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2014-02-06 23:21:40 +0100
committerAndras Timar <andras.timar@collabora.com>2014-02-06 23:22:30 +0100
commitac6e8ac7e407887a18bca6c835f85e372a4d0932 (patch)
tree4011854fc6beb6c4bf03fc278efeeffddedae7d0 /wizards
parent31ae0011352faa834da8969559430935e81d479f (diff)
typo fixes in comments
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaDocument.py16
-rw-r--r--wizards/com/sun/star/wizards/form/FieldLinker.java6
2 files changed, 11 insertions, 11 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
index 180b83f261cc..77a55ee5eab0 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
+++ b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
@@ -106,7 +106,7 @@ class AgendaDocument(TextDocument):
def calcTemplateName(self, url):
return FileAccess.connectURLs(
FileAccess.getParentDir(url), FileAccess.getFilename(url)[3:])
-
+
'''synchronize the document to the model.<br/>
this method rewrites all titles, item tables , and the topics table-
thus synchronizing the document to the data model (CGAgenda).
@@ -142,7 +142,7 @@ class AgendaDocument(TextDocument):
except Exception:
traceback.print_exc()
self.xTextDocument.unlockControllers()
-
+
'''
checks the data model if the
item corresponding to the given string should be shown
@@ -199,7 +199,7 @@ class AgendaDocument(TextDocument):
self.resources.resPlaceHolderHint, self.xTextDocument))
self.itemsCache[
self.templateConsts.FILLIN_READ] = \
- AgendaItem (self.templateConsts.FILLIN_READ,
+ AgendaItem (self.templateConsts.FILLIN_READ,
self.resources.itemRead,
PlaceholderElement (
self.resources.reschkRead_value,
@@ -630,7 +630,7 @@ class ItemsTable(object):
self.agenda.textSectionHandler.breakLinkOfTextSection(
self.section)
# we need to get a instance after linking
-
+
ItemsTable.table = self.agenda.getTable(name)
self.section = self.agenda.getSection(name)
cursor = ItemsTable.table.createCursorByCellName("A1")
@@ -640,8 +640,8 @@ class ItemsTable(object):
cellName = ""
'''
now go through all items that belong to this
- table. Check each one agains the model. If it should
- be display, call it's write method.
+ table. Check each one against the model. If it should
+ be displayed, call its write method.
All items are of type AgendaItem which means they write
two cells to the table: a title (text) and a placeholder.
see AgendaItem class below.
@@ -813,11 +813,11 @@ class Topics(object):
# move the cursor to the needed cell...
cursor.goRight(column, False)
-
+
xc = Topics.table.getCellByName(cursor.RangeName)
# and write it !
te = TextElement(xc, data[column].Value)
- te.write()
+ te.write()
'''removes obsolete rows, reducing the
topics table to the given number of topics.
diff --git a/wizards/com/sun/star/wizards/form/FieldLinker.java b/wizards/com/sun/star/wizards/form/FieldLinker.java
index ea49e77db444..82899b92b532 100644
--- a/wizards/com/sun/star/wizards/form/FieldLinker.java
+++ b/wizards/com/sun/star/wizards/form/FieldLinker.java
@@ -224,7 +224,7 @@ public class FieldLinker extends DBLimitedFieldSelection
String[] MasterLinkNames = JavaTools.ArrayOutOfMultiDimArray(_LinkFieldNames, SOMASTERINDEX);
int SOSLAVEINDEX = 0;
String[] SlaveLinkNames = JavaTools.ArrayOutOfMultiDimArray(_LinkFieldNames, SOSLAVEINDEX);
- String[] ViewMasterFieldNames = addNoneFieldItemToList(_AllMasterFieldNames); // add '-undefiened-'
+ String[] ViewMasterFieldNames = addNoneFieldItemToList(_AllMasterFieldNames); // add '-undefined-'
String[] ViewSlaveFieldNames = addNoneFieldItemToList(_AllSlaveFieldNames);
for (int i = 0; i < super.rowcount; i++)
{
@@ -249,7 +249,7 @@ public class FieldLinker extends DBLimitedFieldSelection
/**
* @return the LinkFieldnames of the joins. When no LinkFieldNames were selected the returned Array is empty.
* When Joins were assigned duplicate a null value is returned
- *
+ *
*/
public String[][] getLinkFieldNames()
{
@@ -274,7 +274,7 @@ public class FieldLinker extends DBLimitedFieldSelection
return null;
}
return LinkFieldNames;
-
+
}
public void enable(boolean _bdoenable)