From ac6e8ac7e407887a18bca6c835f85e372a4d0932 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Thu, 6 Feb 2014 23:21:40 +0100 Subject: typo fixes in comments Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc --- wizards/com/sun/star/wizards/agenda/AgendaDocument.py | 16 ++++++++-------- wizards/com/sun/star/wizards/form/FieldLinker.java | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'wizards') 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.
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) -- cgit