From c0a91ae8f45bc340918a5b2bac41a0f3db5ee61a Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 30 Jan 2021 19:30:58 +0100 Subject: Fix typos Change-Id: Id81d2876dc6ead2de03c21e35b7940fee35bc773 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110176 Tested-by: Jenkins Reviewed-by: Julien Nabet --- sal/osl/w32/file_url.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sal/osl/w32') 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; } } -- cgit