[Libreoffice-commits] core.git: include/osl

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Jul 14 17:17:12 UTC 2019


 include/osl/file.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a6afd69364f43f5971140e7fc4289c7cd3eb02bc
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Jul 11 22:25:24 2019 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Jul 14 19:16:19 2019 +0200

    Fix typo
    
    Change-Id: I39efb064f94354ad3b8881f875311f0422fe6925
    Reviewed-on: https://gerrit.libreoffice.org/75583
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/include/osl/file.h b/include/osl/file.h
index 9548ed8d7571..ebba23af47c4 100644
--- a/include/osl/file.h
+++ b/include/osl/file.h
@@ -74,7 +74,7 @@ for a "FileExists". This should only be done when processing a single file
 (i.e. before opening) and NEVER during enumeration of directory contents on
 any step of information processing. This would change the runtime behaviour
 from O(n) to O(n*n/2) on nearly every file system.  On Windows NT reading the
-contents of an directory with 7000 entries and getting full information about
+contents of a directory with 7000 entries and getting full information about
 every file only takes 0.6 seconds. Specifying the flag
 osl_FileStatus_Mask_Validate for each entry will increase the time to 180
 seconds (!!!).
@@ -151,7 +151,7 @@ typedef void *oslDirectoryItem;
     @retval osl_File_E_None on success
     @retval osl_File_E_INVAL the format of the parameters was not valid
     @retval osl_File_E_NOENT the specified path doesn't exist
-    @retval osl_File_E_NOTDIR the specified path is not an directory
+    @retval osl_File_E_NOTDIR the specified path is not a directory
     @retval osl_File_E_NOMEM not enough memory for allocating structures
     @retval osl_File_E_ACCES permission denied
     @retval osl_File_E_MFILE too many open files used by the process


More information about the Libreoffice-commits mailing list