summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-10 19:59:38 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-10 20:22:50 +0300
commit6835d9f3074c1030be6632bdaff6c8398c696429 (patch)
tree90bdc179c3522a71f87fef348d9aaced458b611d /odk
parenta8877197072523ec60fadb138f9790aa2bf66cd2 (diff)
It's "its", not "it's"
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java2
-rw-r--r--odk/examples/DevelopersGuide/Config/ConfigExamples.java2
-rw-r--r--odk/examples/DevelopersGuide/Forms/DataAwareness.java2
-rw-r--r--odk/examples/DevelopersGuide/Forms/FLTools.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java2
-rw-r--r--odk/examples/DevelopersGuide/Text/TextDocuments.java38
8 files changed, 26 insertions, 26 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
index 1070ffcb0c78..ad34a6e1cd0e 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
@@ -258,7 +258,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
m_xCmpCtx.getServiceManager().createInstanceWithContext("com.sun.star.awt.Toolkit",
m_xCmpCtx));
- // describe the info box ini it's parameters
+ // describe the info box ini its parameters
com.sun.star.awt.WindowDescriptor aDescriptor = new com.sun.star.awt.WindowDescriptor();
aDescriptor.WindowServiceName = "infobox";
aDescriptor.Bounds = new com.sun.star.awt.Rectangle(0,0,300,200);
diff --git a/odk/examples/DevelopersGuide/Config/ConfigExamples.java b/odk/examples/DevelopersGuide/Config/ConfigExamples.java
index 0ca89aaacc10..97bac07e7ccd 100644
--- a/odk/examples/DevelopersGuide/Config/ConfigExamples.java
+++ b/odk/examples/DevelopersGuide/Config/ConfigExamples.java
@@ -102,7 +102,7 @@ public class ConfigExamples
else
System.out.println( "ERROR: Cannot connect - no remote component context available." );
- // Create an instance of the class and call it's run method
+ // Create an instance of the class and call its run method
ConfigExamples aExample = new ConfigExamples(xContext);
aExample.run( );
diff --git a/odk/examples/DevelopersGuide/Forms/DataAwareness.java b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
index b11098698700..e13f82ba20f7 100644
--- a/odk/examples/DevelopersGuide/Forms/DataAwareness.java
+++ b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
@@ -656,7 +656,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
xColProps.setPropertyValue( "DataField", sDataField );
// the "display name" of the column
xColProps.setPropertyValue( "Label", sDataField );
- // the name of the column within it's parent
+ // the name of the column within its parent
xColProps.setPropertyValue( "Name", sDataField );
if ( nWidth > 0 )
diff --git a/odk/examples/DevelopersGuide/Forms/FLTools.java b/odk/examples/DevelopersGuide/Forms/FLTools.java
index 36d4fb3e25b5..4e673519a606 100644
--- a/odk/examples/DevelopersGuide/Forms/FLTools.java
+++ b/odk/examples/DevelopersGuide/Forms/FLTools.java
@@ -123,7 +123,7 @@ public class FLTools
}
/* ------------------------------------------------------------------ */
- /** retrieves the index of a form component within it's parent
+ /** retrieves the index of a form component within its parent
*/
static public int getIndexInParent( Object aContainer, Object aElement ) throws com.sun.star.uno.Exception
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx
index 4baad95d7070..ebe775324e0e 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx
@@ -121,7 +121,7 @@ OUString SAL_CALL FilterDetect::detect(Sequence< PropertyValue >& aArguments )
// parsing the plain text of the document is an easy way to do this
// but not the purest solution, since namespaces and other xml details
// may lead to another syntactic expression of the same document.
- // this example works for the way the office serializes it's XML stream
+ // this example works for the way the office serializes its XML stream
// but might need extension for other data sources...
static OString aDocToken("office:document");
// static OString aClassToken("office:class=\"");
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java
index 7cdf7f68b381..451b8bc852ee 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/LinguisticExamples.java
@@ -80,7 +80,7 @@ public class LinguisticExamples
public static void main(String args[])
{
- // Create an instance of the class and call it's begin method
+ // Create an instance of the class and call its begin method
try {
LinguisticExamples aExample = new LinguisticExamples();
aExample.Connect();
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java
index d51ccb71a440..ee0295393da0 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java
@@ -78,7 +78,7 @@ public class SampleThesaurus extends ComponentBase implements
// this service has no listeners thus we may use the base class,
// which is here basically used only to keep track of the
- // property set (and it's lifetime) since it gets used in the
+ // property set (and its lifetime) since it gets used in the
// 'GetValueToUse' function
aPropChgHelper = new PropChgHelper( this, aProps );
diff --git a/odk/examples/DevelopersGuide/Text/TextDocuments.java b/odk/examples/DevelopersGuide/Text/TextDocuments.java
index ace39e924e3b..a7db8f494a6b 100644
--- a/odk/examples/DevelopersGuide/Text/TextDocuments.java
+++ b/odk/examples/DevelopersGuide/Text/TextDocuments.java
@@ -568,7 +568,7 @@ public class TextDocuments {
try
{
// Use the text document's factory to create a DateTime text field,
- // and access it's XTextField interface
+ // and access its XTextField interface
XTextField xDateField = UnoRuntime.queryInterface (
XTextField.class, mxDocFactory.createInstance (
"com.sun.star.text.TextField.DateTime" ) );
@@ -577,14 +577,14 @@ public class TextDocuments {
mxDocText.insertTextContent ( mxDocText.getEnd(), xDateField, false );
// Use the text document's factory to create a user text field,
- // and access it's XDependentTextField interface
+ // and access its XDependentTextField interface
XDependentTextField xUserField =
UnoRuntime.queryInterface (
XDependentTextField.class, mxDocFactory.createInstance (
"com.sun.star.text.TextField.User" ) );
// Create a fieldmaster for our newly created User Text field, and
- // access it's XPropertySet interface
+ // access its XPropertySet interface
XPropertySet xMasterPropSet = UnoRuntime.queryInterface(
XPropertySet.class, mxDocFactory.createInstance (
"com.sun.star.text.fieldmaster.User" ) );
@@ -768,7 +768,7 @@ public class TextDocuments {
try
{
// Use the document's factory to create a new text frame and
- // immediately access it's XTextFrame interface
+ // immediately access its XTextFrame interface
XTextFrame xFrame = UnoRuntime.queryInterface (
XTextFrame.class, mxDocFactory.createInstance (
"com.sun.star.text.TextFrame" ) );
@@ -980,7 +980,7 @@ public class TextDocuments {
// If we managed to find a group containg blocks...
if ( aBlockNames.length > 0 )
{
- // Pick a random block in this group and get it's
+ // Pick a random block in this group and get its
// XAutoTextEntry interface
int nRandom = Math.abs ( maRandom.nextInt()
% aBlockNames.length );
@@ -1043,7 +1043,7 @@ public class TextDocuments {
XParagraphCursor xParaCursor = UnoRuntime.queryInterface( XParagraphCursor.class, mxDocCursor );
xParaCursor.gotoPreviousParagraph ( false );
- // Create a new ContentIndexMark and get it's XPropertySet interface
+ // Create a new ContentIndexMark and get its XPropertySet interface
XPropertySet xEntry = UnoRuntime.queryInterface(
XPropertySet.class,
mxDocFactory.createInstance("com.sun.star.text.ContentIndexMark"));
@@ -1055,7 +1055,7 @@ public class TextDocuments {
// The Level property _must_ be set
xEntry.setPropertyValue ( "Level", new Short ( (short) 1 ) );
- // Create a ContentIndex and access it's XPropertySet interface
+ // Create a ContentIndex and access its XPropertySet interface
XPropertySet xIndex = UnoRuntime.queryInterface(
XPropertySet.class,
mxDocFactory.createInstance ( "com.sun.star.text.ContentIndex" ) );
@@ -1078,7 +1078,7 @@ public class TextDocuments {
XDocumentIndex xDocIndex = UnoRuntime.queryInterface(
XDocumentIndex.class, xIndex );
- // And call it's update method
+ // And call its update method
xDocIndex.update();
}
catch (Exception e)
@@ -1107,7 +1107,7 @@ public class TextDocuments {
// Move the cursor into the new paragraph
xParaCursor.gotoPreviousParagraph ( false );
- // Create a new ReferenceMark and get it's XNamed interface
+ // Create a new ReferenceMark and get its XNamed interface
XNamed xRefMark = UnoRuntime.queryInterface(XNamed.class,
mxDocFactory.createInstance ("com.sun.star.text.ReferenceMark"));
@@ -1141,7 +1141,7 @@ public class TextDocuments {
xTableText.insertTextContent ( xTableCursor, xContent, false );
// Create a 'GetReference' text field to refer to the reference mark
- // we just inserted, and get it's XPropertySet interface
+ // we just inserted, and get its XPropertySet interface
XPropertySet xFieldProps = UnoRuntime.queryInterface(
XPropertySet.class, mxDocFactory.createInstance (
"com.sun.star.text.TextField.GetReference" ) );
@@ -1215,7 +1215,7 @@ public class TextDocuments {
{
try
{
- // Create a new footnote from the document factory and get it's
+ // Create a new footnote from the document factory and get its
// XFootnote interface
XFootnote xFootnote = UnoRuntime.queryInterface(
XFootnote.class, mxDocFactory.createInstance (
@@ -1444,7 +1444,7 @@ public class TextDocuments {
XRelativeTextContentInsert.class, mxDocText );
// Use the document's factory to create the NumberingRules service,
- // and get it's XIndexAccess interface
+ // and get its XIndexAccess interface
XIndexAccess xNum = UnoRuntime.queryInterface(
XIndexAccess.class,
mxDocFactory.createInstance( "com.sun.star.text.NumberingRules" ) );
@@ -1484,7 +1484,7 @@ public class TextDocuments {
{
if ( aProps[j].Name.equals ( "NumberingType" ) )
{
- // Once we find it, set it's value to a new type,
+ // Once we find it, set its value to a new type,
// dependent on which numbering level we're currently on
switch ( i )
{
@@ -1554,7 +1554,7 @@ public class TextDocuments {
mxDocCursor, ControlCharacter.PARAGRAPH_BREAK, true );
// Create a new TextSection from the document factory and access
- // it's XNamed interface
+ // its XNamed interface
XNamed xChildNamed = UnoRuntime.queryInterface(
XNamed.class, mxDocFactory.createInstance(
"com.sun.star.text.TextSection" ) );
@@ -1585,7 +1585,7 @@ public class TextDocuments {
// Go to the end of the document, selecting the two paragraphs
mxDocCursor.gotoEnd ( true );
- // Create another text section and access it's XNamed interface
+ // Create another text section and access its XNamed interface
XNamed xParentNamed = UnoRuntime.queryInterface(XNamed.class,
mxDocFactory.createInstance("com.sun.star.text.TextSection"));
@@ -1606,7 +1606,7 @@ public class TextDocuments {
// And select the new pargraph
xParaCursor.gotoPreviousParagraph ( true );
- // Create a new Text Section and access it's XNamed interface
+ // Create a new Text Section and access its XNamed interface
XNamed xLinkNamed = UnoRuntime.queryInterface(XNamed.class,
mxDocFactory.createInstance("com.sun.star.text.TextSection"));
// Set the new text section's name to Linked_Section
@@ -1676,14 +1676,14 @@ public class TextDocuments {
xParaCursor.gotoNextParagraph ( true );
xParaCursor.gotoNextParagraph ( true );
- // Create a new text section and get it's XNamed interface
+ // Create a new text section and get its XNamed interface
XNamed xSectionNamed = UnoRuntime.queryInterface(XNamed.class,
mxDocFactory.createInstance("com.sun.star.text.TextSection"));
// Set the name of our new section (appropiately) to 'Fish'
xSectionNamed.setName ( "Fish" );
- // Create the TextColumns service and get it's XTextColumns interface
+ // Create the TextColumns service and get its XTextColumns interface
XTextColumns xColumns = UnoRuntime.queryInterface(
XTextColumns.class,
mxDocFactory.createInstance ( "com.sun.star.text.TextColumns" ) );
@@ -1718,7 +1718,7 @@ public class TextDocuments {
XRelativeTextContentInsert xRelative = UnoRuntime.queryInterface (
XRelativeTextContentInsert.class, mxDocText );
- // Create a new empty paragraph and get it's XTextContent interface
+ // Create a new empty paragraph and get its XTextContent interface
XTextContent xNewPara = UnoRuntime.queryInterface(
XTextContent.class,
mxDocFactory.createInstance("com.sun.star.text.Paragraph"));