summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-09 16:34:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-10 10:01:13 +0200
commit1156f981ac4557737dd915e89e11abaa61e29f14 (patch)
tree86e847ba365f478bb74d3fc4e3785689d8b45c6f /odk
parent0dc47739176493ded49b665c5fdfe0fe8fff39c1 (diff)
an is used before a vowel sound
not before vowels with a consonant sound so its a url not an url Change-Id: Ic27ff3bee67469284d460c31ced6f63cb3633db2 Reviewed-on: https://gerrit.libreoffice.org/72062 Reviewed-by: Jens Carl <j.carl43@gmx.de> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java6
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java2
-rw-r--r--odk/examples/OLE/activex/README.txt2
-rw-r--r--odk/examples/cpp/DocumentLoader/DocumentLoader.cxx2
6 files changed, 8 insertions, 8 deletions
diff --git a/odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java b/odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java
index bc1898d618ce..771b22784d6d 100644
--- a/odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java
+++ b/odk/examples/DevelopersGuide/Forms/DocumentViewHelper.java
@@ -95,7 +95,7 @@ class DocumentViewHelper
XDispatchProvider.class, xController.getFrame() );
if ( null != xProvider )
{
- // need an URLTransformer
+ // need a URLTransformer
XURLTransformer xTransformer = UnoRuntime.queryInterface(
XURLTransformer.class, m_orb.createInstance( "com.sun.star.util.URLTransformer" ) );
xTransformer.parseStrict( aURL );
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index 030c8f9b6ede..1182745bb968 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -65,7 +65,7 @@ public class FunctionHelper
/**
- * This convert an URL (formatted as a string) to a struct com.sun.star.util.URL.
+ * This convert a URL (formatted as a string) to a struct com.sun.star.util.URL.
* It use a special service to do that: the URLTransformer.
* Because some API calls need it and it's not allowed to set "Complete"
* part of the util struct only. The URL must be parsed.
@@ -425,7 +425,7 @@ public class FunctionHelper
/**
- * Dispatch an URL to given frame.
+ * Dispatch a URL to given frame.
* Caller can register himself for following status events for dispatched
* URL too. But nobody guarantee that such notifications will occur.
* (see dispatchWithNotification() if you interest on that)
@@ -494,7 +494,7 @@ public class FunctionHelper
/**
- * Load document specified by an URL into given frame synchronously.
+ * Load document specified by a URL into given frame synchronously.
* The result of this operation will be the loaded document for success
* or null if loading failed.
*
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index e9fa03afdec0..69c51f62cefd 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -316,7 +316,7 @@ public class AsciiReplaceFilter
/**
* Implements the real filter method. We detect if it must be an import or an export.
* Depends on that we use an existing stream (given inside the MediaDescriptor)
- * or open it by using an URL (must be a part of the descriptor too).
+ * or open it by using a URL (must be a part of the descriptor too).
*
* @param lDescriptor
* the MediaDescriptor which describes the document
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
index 3a233957b240..18c45da85b79 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
@@ -44,7 +44,7 @@ import com.sun.star.uno.UnoRuntime;
@title helper to analyze necessary option properties of our filter
@description Our filter needs some necessary properties for working:
- a stream for input or output
- - or an URL for creating such streams
+ - or a URL for creating such streams
- information about required action on filtering
@attention This class mustn't be threadsafe - because instances of it
diff --git a/odk/examples/OLE/activex/README.txt b/odk/examples/OLE/activex/README.txt
index 713d13817c21..6528c528fa38 100644
--- a/odk/examples/OLE/activex/README.txt
+++ b/odk/examples/OLE/activex/README.txt
@@ -28,7 +28,7 @@ to allow scripting to load different documents.
As any ActiveX control this one should be registered.
To let MSIE register it itself the "CODEBASE" parameter
for the "OBJECT" tag should be specified
-with an URL to the library "so_activex.dll".
+with a URL to the library "so_activex.dll".
Also it can be done using regsvr32 application.
To do it please write
diff --git a/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx b/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx
index 4606f0b4d1be..590bbe762666 100644
--- a/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx
+++ b/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx
@@ -127,7 +127,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
*/
Reference < XDesktop2 > xComponentLoader = Desktop::create(xComponentContext);
- /* Loads a component specified by an URL into the specified new or existing
+ /* Loads a component specified by a URL into the specified new or existing
frame.
*/
OUString sAbsoluteDocUrl, sWorkingDir, sDocPathUrl, sArgDocUrl;