diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-01-30 19:30:58 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-01-31 09:23:21 +0100 |
commit | c0a91ae8f45bc340918a5b2bac41a0f3db5ee61a (patch) | |
tree | 15979d6d36375ea044c7dc8e3179928132d9f827 /sal/osl/w32 | |
parent | 3cd6939c03e110354d9ec383504b4d86e23a407d (diff) |
Fix typos
Change-Id: Id81d2876dc6ead2de03c21e35b7940fee35bc773
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110176
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sal/osl/w32')
-rw-r--r-- | sal/osl/w32/file_url.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx index c2094f568edd..b0b266e0d40e 100644 --- a/sal/osl/w32/file_url.cxx +++ b/sal/osl/w32/file_url.cxx @@ -436,7 +436,7 @@ static DWORD GetCaseCorrectPathNameEx( PathAddBackslash( lpszPath, cchBuffer ); - /* Analyze parent if not only a trailing backslash was cutted but a real file spec */ + /* Analyze parent if not only a trailing backslash was cut but a real file spec */ if ( !bSkipThis ) { if ( bCheckExistence ) @@ -1016,7 +1016,7 @@ OUString combinePath(rtl_uString* basePath, const sal_Unicode* relPath) const bool needSep = basePath->buffer[basePath->length - 1] != '\\' && relPath[0] != '\\'; const auto sSeparator = needSep ? std::u16string_view(u"\\") : std::u16string_view(); if (basePath->buffer[basePath->length - 1] == '\\' && relPath[0] == '\\') - ++relPath; // avoid two agjacent backslashes + ++relPath; // avoid two adjacent backslashes return OUString::unacquired(&basePath) + sSeparator + relPath; } } |