summaryrefslogtreecommitdiff
path: root/cui
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 /cui
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 'cui')
-rw-r--r--cui/source/dialogs/hltpbase.cxx2
-rw-r--r--cui/source/options/optpath.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx
index be8bae72b516..235f47fd3549 100644
--- a/cui/source/dialogs/hltpbase.cxx
+++ b/cui/source/dialogs/hltpbase.cxx
@@ -393,7 +393,7 @@ OUString SvxHyperlinkTabPageBase::GetSchemeFromURL( const OUString& rStrURL )
INetProtocol aProtocol = aURL.GetProtocol();
// our new INetUrlObject now has the ability
- // to detect if an Url is valid or not :-(
+ // to detect if a Url is valid or not :-(
if ( aProtocol == INetProtocol::NotValid )
{
if ( rStrURL.startsWithIgnoreAsciiCase( INET_HTTP_SCHEME ) )
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index 663532701a71..4e53c34fdb3a 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -483,13 +483,13 @@ void SvxPathTabPage::ChangeCurrentEntry( const OUString& _rFolder )
sUser = pPathImpl->sUserPath;
sWritable = pPathImpl->sWritablePath;
- // old path is an URL?
+ // old path is a URL?
INetURLObject aObj( sWritable );
bool bURL = ( aObj.GetProtocol() != INetProtocol::NotValid );
INetURLObject aNewObj( _rFolder );
aNewObj.removeFinalSlash();
- // then the new path also an URL else system path
+ // then the new path also a URL else system path
OUString sNewPathStr = bURL ? _rFolder : aNewObj.getFSysPath( FSysStyle::Detect );
bool bChanged =