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 /sfx2/source | |
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 'sfx2/source')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/SfxDocumentMetaData.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/printhelper.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 4575fa31a386..5c0a32d02a87 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -748,7 +748,7 @@ void BackingWindow::dispatchURL( const OUString& i_rURL, if( !xProvider.is()) return; - // get an URL transformer to clean up the URL + // get a URL transformer to clean up the URL css::util::URL aDispatchURL; aDispatchURL.Complete = i_rURL; diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx index 43a3f2bbf4ff..294a68b7c94b 100644 --- a/sfx2/source/doc/SfxDocumentMetaData.cxx +++ b/sfx2/source/doc/SfxDocumentMetaData.cxx @@ -1868,7 +1868,7 @@ SfxDocumentMetaData::loadFromMedium(const OUString & URL, { css::uno::Reference<css::io::XInputStream> xIn; utl::MediaDescriptor md(Medium); - // if we have an URL parameter, it replaces the one in the media descriptor + // if we have a URL parameter, it replaces the one in the media descriptor if (!URL.isEmpty()) { md[ utl::MediaDescriptor::PROP_URL() ] <<= URL; md[ utl::MediaDescriptor::PROP_READONLY() ] <<= true; diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index e012672b6168..302e9ab115c2 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -3252,7 +3252,7 @@ SfxMedium::SfxMedium( const uno::Sequence<beans::PropertyValue>& aArgs ) : // QUESTION: there is some treatment of Salvage in Init_Impl; align! if ( !pSalvageItem->GetValue().isEmpty() ) { - // if an URL is provided in SalvageItem that means that the FileName refers to a temporary file + // if a URL is provided in SalvageItem that means that the FileName refers to a temporary file // that must be copied here const SfxStringItem* pFileNameItem = SfxItemSet::GetItem<SfxStringItem>(pImpl->m_pSet.get(), SID_FILE_NAME, false); diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx index f485f5afae86..aad076b642a9 100644 --- a/sfx2/source/doc/printhelper.cxx +++ b/sfx2/source/doc/printhelper.cxx @@ -640,7 +640,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >& // We try to convert it to a file URL. If its possible // we put the system path to the item set and let vcl work with it. // No ucb or thread will be necessary then. In case it couldn't be - // converted it's not an URL nor a system path. Then we can't accept + // converted it's not a URL nor a system path. Then we can't accept // this parameter and have to throw an exception. const OUString& sSystemPath(sTemp); OUString sFileURL; diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index f2d77e2ed3bb..a3e91f4ba261 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -1198,7 +1198,7 @@ OUString SfxViewShell::GetSelectionText sending emails. When called with "CompleteWords == TRUE", it is for example sufficient - with having the Cursor positioned somewhere within an URL in-order + with having the Cursor positioned somewhere within a URL in-order to have the entire URL returned. */ |