summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-03-05 11:26:44 +0100
committerJulien Nabet <serval2412@yahoo.fr>2022-03-05 13:49:13 +0100
commit23257525df31a57bbf1a8935001ded2842a18b13 (patch)
tree1b4f1c7aacffc93761727b0840b3fd7178c54bab /sal
parent9d25f86236885c40662bcd24517f231688361e8c (diff)
Fix typos
Change-Id: I87f35153bbf53f58d6c8ca7b14a7fd09fec4372f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131052 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/file_dirvol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/w32/file_dirvol.cxx b/sal/osl/w32/file_dirvol.cxx
index dc90f474dcfe..793a5ed52d21 100644
--- a/sal/osl/w32/file_dirvol.cxx
+++ b/sal/osl/w32/file_dirvol.cxx
@@ -1595,9 +1595,9 @@ oslFileError SAL_CALL osl_getFileStatus(
{
/* Capitalizes drive name (single letter). Windows file paths are processed
case-sensitively. While parsing a path, function osl_DirectoryItem has case
- PATHTYPE_VOLUME for drives, and capatalizes them. That can be overwritten by
+ PATHTYPE_VOLUME for drives, and capitalizes them. That can be overwritten by
function osl_getFileStatus, in it win32 api GetLongPathNameW does no
- capatilization. Thus it needs to be postprocessed.*/
+ capitalization. Thus it needs to be postprocessed.*/
sal_Int32 nIndex = rtl_ustr_indexOfChar(aBuffer, ':');
if (nIndex > 0) {
aBuffer[nIndex - 1] = rtl::toAsciiUpperCase(aBuffer[nIndex - 1]);