diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-11 18:19:03 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-12 11:38:04 +0200 |
commit | b937a95b4e3f372f64450a6bfea9a7efb5c16464 (patch) | |
tree | ccab99bc0695e8a827dbebbee924efa1ba62364e /ucb | |
parent | 38719c3341bf4244fcaf835a3933c922e9153251 (diff) |
Fix typos
Change-Id: Ic49b4cc6f2d0e0ac4d2635da2447bc6a2db5322e
Reviewed-on: https://gerrit.libreoffice.org/77275
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/ftp/ftpurl.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchyuri.cxx | 12 | ||||
-rw-r--r-- | ucb/source/ucp/package/pkgprovider.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/package/pkguri.cxx | 14 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_content.cxx | 6 |
5 files changed, 19 insertions, 19 deletions
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx index a72a153d5eac..3d04a716a82c 100644 --- a/ucb/source/ucp/ftp/ftpurl.cxx +++ b/ucb/source/ucp/ftp/ftpurl.cxx @@ -563,11 +563,11 @@ OUString FTPURL::net_title() const throw curl_exception(err); #endif else if(try_more && err == CURLE_FTP_ACCESS_DENIED) { - // We were either denied access when trying to login to + // We were either denied access when trying to login to // an FTP server or when trying to change working directory // to the one given in the URL. if(!m_aPathSegmentVec.empty()) - // determine title form url + // determine title from URL aNetTitle = decodePathSegment(m_aPathSegmentVec.back()); else // must be root diff --git a/ucb/source/ucp/hierarchy/hierarchyuri.cxx b/ucb/source/ucp/hierarchy/hierarchyuri.cxx index 6bd2fc5952f1..cc7aed266e58 100644 --- a/ucb/source/ucp/hierarchy/hierarchyuri.cxx +++ b/ucb/source/ucp/hierarchy/hierarchyuri.cxx @@ -47,10 +47,10 @@ void HierarchyUri::init() const m_aService.clear(); m_aParentUri.clear(); - // URI must match at least: <sheme>: + // URI must match at least: <scheme>: if ( m_aUri.getLength() < HIERARCHY_URL_SCHEME_LENGTH + 1 ) { - // error, but remember that we did a init(). + // error, but remember that we did an init(). m_aPath = "/"; return; } @@ -110,7 +110,7 @@ void HierarchyUri::init() const // Only <scheme>:// ? if ( nStart == m_aUri.getLength() ) { - // error, but remember that we did a init(). + // error, but remember that we did an init(). m_aPath = "/"; return; } @@ -118,7 +118,7 @@ void HierarchyUri::init() const // Empty path segments? if ( m_aUri.indexOf("//", nStart) != -1 ) { - // error, but remember that we did a init(). + // error, but remember that we did an init(). m_aPath = "/"; return; } @@ -128,7 +128,7 @@ void HierarchyUri::init() const // Only <scheme>:/// ? if ( nEnd == nStart ) { - // error, but remember that we did a init(). + // error, but remember that we did an init(). m_aPath = "/"; return; } @@ -171,7 +171,7 @@ void HierarchyUri::init() const } else { - // error, but remember that we did a init(). + // error, but remember that we did an init(). m_aPath = "/"; } } diff --git a/ucb/source/ucp/package/pkgprovider.cxx b/ucb/source/ucp/package/pkgprovider.cxx index 7b7848e9a72d..b014c6c01915 100644 --- a/ucb/source/ucp/package/pkgprovider.cxx +++ b/ucb/source/ucp/package/pkgprovider.cxx @@ -178,7 +178,7 @@ uno::Reference< ucb::XContent > SAL_CALL ContentProvider::queryContent( if ( !aUri.isValid() ) throw ucb::IllegalIdentifierException(); - // Create a new identifier for the mormalized URL returned by + // Create a new identifier for the normalized URL returned by // PackageUri::getUri(). uno::Reference< ucb::XContentIdentifier > xId = new ::ucbhelper::ContentIdentifier( aUri.getUri() ); diff --git a/ucb/source/ucp/package/pkguri.cxx b/ucb/source/ucp/package/pkguri.cxx index 95cb0b7d8874..0458e73085a3 100644 --- a/ucb/source/ucp/package/pkguri.cxx +++ b/ucb/source/ucp/package/pkguri.cxx @@ -70,10 +70,10 @@ void PackageUri::init() const m_aParam.clear(); m_aScheme.clear(); - // URI must match at least: <sheme>://<non_empty_url_to_file> + // URI must match at least: <scheme>://<non_empty_url_to_file> if ( m_aUri.getLength() < PACKAGE_URL_SCHEME_LENGTH + 4 ) { - // error, but remember that we did a init(). + // error, but remember that we did an init(). m_aPath = "/"; return; } @@ -85,7 +85,7 @@ void PackageUri::init() const || ( m_aUri[ PACKAGE_URL_SCHEME_LENGTH + 2 ] != '/' ) ) { - // error, but remember that we did a init(). + // error, but remember that we did an init(). m_aPath = "/"; return; } @@ -124,7 +124,7 @@ void PackageUri::init() const { // Only <scheme>:/// - Empty authority - // error, but remember that we did a init(). + // error, but remember that we did an init(). m_aPath = "/"; return; } @@ -134,7 +134,7 @@ void PackageUri::init() const { // Only <scheme>://// or <scheme>://<something> - // error, but remember that we did a init(). + // error, but remember that we did an init(). m_aPath = "/"; return; } @@ -185,7 +185,7 @@ void PackageUri::init() const || ::comphelper::OStorageHelper::PathHasSegment( m_aPath, ".." ) || ::comphelper::OStorageHelper::PathHasSegment( m_aPath, "." ) ) { - // error, but remember that we did a init(). + // error, but remember that we did an init(). m_aPath = "/"; return; } @@ -222,7 +222,7 @@ void PackageUri::init() const } else { - // error, but remember that we did a init(). + // error, but remember that we did an init(). m_aPath = "/"; } diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx index 93b4cff26e67..910e95dd9dcf 100644 --- a/ucb/source/ucp/tdoc/tdoc_content.cxx +++ b/ucb/source/ucp/tdoc/tdoc_content.cxx @@ -2371,7 +2371,7 @@ void Content::renameData( } catch ( embed::InvalidStorageException const & ) { - // this storage is in invalid state for eny reason + // this storage is in invalid state for any reason OSL_FAIL( "Caught InvalidStorageException!" ); return; } @@ -2435,7 +2435,7 @@ bool Content::removeData() } catch ( embed::InvalidStorageException const & ) { - // this storage is in invalid state for eny reason + // this storage is in invalid state for any reason OSL_FAIL( "Caught InvalidStorageException!" ); return false; } @@ -2500,7 +2500,7 @@ bool Content::copyData( const Uri & rSourceUri, const OUString & rNewName ) } catch ( embed::InvalidStorageException const & ) { - // this storage is in invalid state for eny reason + // this storage is in invalid state for any reason OSL_FAIL( "Caught InvalidStorageException!" ); return false; } |