summaryrefslogtreecommitdiff
path: root/wizards/com/sun
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun')
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaDocument.py2
-rw-r--r--wizards/com/sun/star/wizards/agenda/TemplateConsts.py2
-rw-r--r--wizards/com/sun/star/wizards/common/NumberFormatter.java2
-rw-r--r--wizards/com/sun/star/wizards/common/PropertySetHelper.java6
-rw-r--r--wizards/com/sun/star/wizards/common/UCB.py2
-rw-r--r--wizards/com/sun/star/wizards/common/strings.hrc2
-rw-r--r--wizards/com/sun/star/wizards/query/QueryWizard.java2
-rw-r--r--wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java2
-rw-r--r--wizards/com/sun/star/wizards/report/IReportDocument.java4
-rw-r--r--wizards/com/sun/star/wizards/report/ReportWizard.java2
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java4
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java4
-rw-r--r--wizards/com/sun/star/wizards/text/TextDocument.py2
13 files changed, 18 insertions, 18 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
index a980e60d4959..567a1f1ae434 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
+++ b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
@@ -629,7 +629,7 @@ class ItemsTable(object):
self.agenda.template, name, self.section)
self.agenda.textSectionHandler.breakLinkOfTextSection(
self.section)
- # we need to get a instance after linking
+ # we need to get an instance after linking
ItemsTable.table = self.agenda.getTable(name)
self.section = self.agenda.getSection(name)
diff --git a/wizards/com/sun/star/wizards/agenda/TemplateConsts.py b/wizards/com/sun/star/wizards/agenda/TemplateConsts.py
index 18791f06d21a..2593c2ce3407 100644
--- a/wizards/com/sun/star/wizards/agenda/TemplateConsts.py
+++ b/wizards/com/sun/star/wizards/agenda/TemplateConsts.py
@@ -25,7 +25,7 @@ class TemplateConsts:
'''
section name <b>prefix</b> for sections that contain items.
this is also used as table name prefix, since each items section
- must contain a table whos name is identical name to the section's name.
+ must contain a table whose name is identical name to the section's name.
'''
SECTION_ITEMS = "AGENDA_ITEMS"
'''
diff --git a/wizards/com/sun/star/wizards/common/NumberFormatter.java b/wizards/com/sun/star/wizards/common/NumberFormatter.java
index 9a6ca217e6c9..b2220e1cca19 100644
--- a/wizards/com/sun/star/wizards/common/NumberFormatter.java
+++ b/wizards/com/sun/star/wizards/common/NumberFormatter.java
@@ -152,7 +152,7 @@ public class NumberFormatter
}
else
{
- // TODO: throws a exception in a try catch environment, very helpful?
+ // TODO: throws an exception in a try catch environment, very helpful?
throw new Exception();
}
}
diff --git a/wizards/com/sun/star/wizards/common/PropertySetHelper.java b/wizards/com/sun/star/wizards/common/PropertySetHelper.java
index 0fb0959a0f18..7de45668eb26 100644
--- a/wizards/com/sun/star/wizards/common/PropertySetHelper.java
+++ b/wizards/com/sun/star/wizards/common/PropertySetHelper.java
@@ -133,7 +133,7 @@ public class PropertySetHelper
}
catch (com.sun.star.lang.IllegalArgumentException e)
{
- DebugHelper.writeInfo("can't convert a object to integer.");
+ DebugHelper.writeInfo("can't convert an object to integer.");
}
}
return nValue;
@@ -179,7 +179,7 @@ public class PropertySetHelper
}
catch (com.sun.star.lang.IllegalArgumentException e)
{
- DebugHelper.writeInfo("can't convert a object to integer.");
+ DebugHelper.writeInfo("can't convert an object to integer.");
}
}
return nValue;
@@ -221,7 +221,7 @@ public class PropertySetHelper
}
catch (com.sun.star.lang.IllegalArgumentException e)
{
- DebugHelper.writeInfo("can't convert a object to string.");
+ DebugHelper.writeInfo("can't convert an object to string.");
}
}
return sValue;
diff --git a/wizards/com/sun/star/wizards/common/UCB.py b/wizards/com/sun/star/wizards/common/UCB.py
index 84d951f73f54..1e52e4861362 100644
--- a/wizards/com/sun/star/wizards/common/UCB.py
+++ b/wizards/com/sun/star/wizards/common/UCB.py
@@ -34,7 +34,7 @@ from com.sun.star.ucb.TransferCommandOperation import COPY
# This class is used to copy the content of a folder to
# another folder.
-# There is an incosistency with argument order.
+# There is an inconsistency with argument order.
# It should be always: dir,filename.
class UCB(object):
diff --git a/wizards/com/sun/star/wizards/common/strings.hrc b/wizards/com/sun/star/wizards/common/strings.hrc
index 5949fae37ea1..bb3f07237961 100644
--- a/wizards/com/sun/star/wizards/common/strings.hrc
+++ b/wizards/com/sun/star/wizards/common/strings.hrc
@@ -21,7 +21,7 @@ gettext.textdomain('wiz')
def NC_(context, string):
# Contextual strings are stored with the concatenation of
- # the context, a EOT byte, and the original string, instead of the original string
+ # the context, an EOT byte, and the original string, instead of the original string
# see https://www.gnu.org/software/gettext/manual/html_node/MO-Files.html
ret = gettext.gettext(context + chr(4) + string)
if ret.find(chr(4)) == -1:
diff --git a/wizards/com/sun/star/wizards/query/QueryWizard.java b/wizards/com/sun/star/wizards/query/QueryWizard.java
index ec531ee600aa..e67310d96d11 100644
--- a/wizards/com/sun/star/wizards/query/QueryWizard.java
+++ b/wizards/com/sun/star/wizards/query/QueryWizard.java
@@ -388,7 +388,7 @@ public class QueryWizard extends DatabaseObjectWizard
boolean bEnabled = NewItems.length > 0;
setControlProperty("btnWizardNext", PropertyNames.PROPERTY_ENABLED, bEnabled);
setControlProperty("btnWizardFinish", PropertyNames.PROPERTY_ENABLED, bEnabled);
- enableRoadmapItems(bEnabled); // Note: Performancewise this could be improved
+ enableRoadmapItems(bEnabled); // Note: Performance wise this could be improved
}
private class FieldSelectionListener implements com.sun.star.wizards.ui.XFieldSelectionListener
diff --git a/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java b/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java
index aa81c48984ec..3cdabfc23682 100644
--- a/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java
+++ b/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java
@@ -36,7 +36,7 @@ public interface IReportDefinitionReadAccess
/**
- * This ServiceFactory is the 'global' Service Factory, which knows all and every thing in the program.
+ * This ServiceFactory is the 'global' Service Factory, which knows all and everything in the program.
* @return the global service factory of the program
*/
XMultiServiceFactory getGlobalMSF();
diff --git a/wizards/com/sun/star/wizards/report/IReportDocument.java b/wizards/com/sun/star/wizards/report/IReportDocument.java
index 2b456977838e..d5ceed0fb47a 100644
--- a/wizards/com/sun/star/wizards/report/IReportDocument.java
+++ b/wizards/com/sun/star/wizards/report/IReportDocument.java
@@ -88,7 +88,7 @@ public interface IReportDocument
void setFieldTitles(final String[] sFieldTitles);
/**
- * Change a the name of the 'title' of one field.
+ * Change the name of the 'title' of one field.
* It is possible to give all element names new names which are used as
* element title of a given element name.
* This is only used as a preview
@@ -194,7 +194,7 @@ public interface IReportDocument
void insertDatabaseDatatoReportDocument(XMultiServiceFactory xMSF);
// ???
/**
- * set a internal variable to stop a maybe longer DB access.
+ * set an internal variable to stop a maybe longer DB access.
*/
void StopProcess(); // cancel
diff --git a/wizards/com/sun/star/wizards/report/ReportWizard.java b/wizards/com/sun/star/wizards/report/ReportWizard.java
index 92d53273c9ad..1b3eff175dba 100644
--- a/wizards/com/sun/star/wizards/report/ReportWizard.java
+++ b/wizards/com/sun/star/wizards/report/ReportWizard.java
@@ -590,7 +590,7 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener
boolean bEnabled = NewItems.length > 0;
setControlProperty("btnWizardNext", PropertyNames.PROPERTY_ENABLED, Boolean.valueOf(bEnabled));
setControlProperty("btnWizardFinish", PropertyNames.PROPERTY_ENABLED, Boolean.valueOf(bEnabled));
- enableRoadmapItems(bEnabled); // Note: Performancewise this could be improved
+ enableRoadmapItems(bEnabled); // Note: Performance wise this could be improved
}
public void textChanged(TextEvent xTextEvent)
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java b/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java
index 6d332705664e..a7343d9010f7 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java
@@ -141,7 +141,7 @@ public class DesignTemplate
if (a == null)
{
a = SectionEmptyObject.create();
- // a empty group has to use bold font
+ // an empty group has to use bold font
a.setPropertyValue("CharWeight", new Float(com.sun.star.awt.FontWeight.BOLD));
}
return a;
@@ -259,7 +259,7 @@ public class DesignTemplate
}
/**
- * create a new DesignTemplate by try to load a otr file from the given path.
+ * create a new DesignTemplate by try to load an otr file from the given path.
* Internally we store the loaded ReportDefinition.
*/
public static DesignTemplate create(XMultiServiceFactory _xMSF, String _sPath)
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
index 8553ea471028..cfa2071a3c2c 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
@@ -87,7 +87,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
}
/**
- * The Constructor is protected, this is a abstract class, use Tabular or other to create an instance.
+ * The Constructor is protected, this is an abstract class, use Tabular or other to create an instance.
* @param _xDefinitionAccess
* @param _aResource
*/
@@ -707,7 +707,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
/**
- * Insert a already formatted field name into a given section
+ * Insert an already formatted field name into a given section
*
* Use 'convertToFieldName(dbfield)' to convert a dbfield name in the right.
*
diff --git a/wizards/com/sun/star/wizards/text/TextDocument.py b/wizards/com/sun/star/wizards/text/TextDocument.py
index d4c7d67b5e9b..92226302c9a8 100644
--- a/wizards/com/sun/star/wizards/text/TextDocument.py
+++ b/wizards/com/sun/star/wizards/text/TextDocument.py
@@ -169,7 +169,7 @@ class TextDocument(object):
'''
This method sets the Author of a Wizard-generated template correctly
- and adds a explanatory sentence to the template description.
+ and adds an explanatory sentence to the template description.
@param WizardName The name of the Wizard.
@param TemplateDescription The old Description which is being
appended with another sentence.