diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-09 16:34:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-10 10:01:13 +0200 |
commit | 1156f981ac4557737dd915e89e11abaa61e29f14 (patch) | |
tree | 86e847ba365f478bb74d3fc4e3785689d8b45c6f /forms | |
parent | 0dc47739176493ded49b665c5fdfe0fe8fff39c1 (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 'forms')
-rw-r--r-- | forms/qa/integration/forms/DocumentViewHelper.java | 2 | ||||
-rw-r--r-- | forms/source/inc/urltransformer.hxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/forms/qa/integration/forms/DocumentViewHelper.java b/forms/qa/integration/forms/DocumentViewHelper.java index 7acdbce4e4b3..d936ea267ff4 100644 --- a/forms/qa/integration/forms/DocumentViewHelper.java +++ b/forms/qa/integration/forms/DocumentViewHelper.java @@ -96,7 +96,7 @@ public 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/forms/source/inc/urltransformer.hxx b/forms/source/inc/urltransformer.hxx index 3ee248f8e1a1..168c96d791e1 100644 --- a/forms/source/inc/urltransformer.hxx +++ b/forms/source/inc/urltransformer.hxx @@ -41,12 +41,12 @@ namespace frm public: UrlTransformer( const css::uno::Reference< css::uno::XComponentContext >& _rxORB ); - /** returns an URL object for the given URL string + /** returns a URL object for the given URL string */ css::util::URL getStrictURL( const OUString& _rURL ) const; - /** returns an URL object for the given URL ASCII string + /** returns a URL object for the given URL ASCII string */ css::util::URL getStrictURLFromAscii( const sal_Char* _pAsciiURL ) const; @@ -57,7 +57,7 @@ namespace frm parseSmartWithAsciiProtocol( css::util::URL& _rURL, const sal_Char* _pAsciiURL ) const; private: - /** ensures that we have an URLTransformer instance in <member>m_xTransformer</member> + /** ensures that we have a URLTransformer instance in <member>m_xTransformer</member> @return <TRUE/> if and only if m_xTransformer is not <NULL/> |