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

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 16 07:00:21 UTC 2021


 sal/osl/w32/file_dirvol.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e36c2b46981f87a4d01a8552d4440a42a6770429
Author:     Noel Grandin <noel at peralex.com>
AuthorDate: Thu Apr 15 10:05:00 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Apr 16 08:59:40 2021 +0200

    set path to fully normalized in osl_getNextFileItem
    
    which speeds up startup, because then we don't need to do the
    GetCaseCorrect stuff when scanning large folders of fonts.
    
    Change-Id: Ic7c08e8c631184ba619241ef337c526994efe571
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114127
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sal/osl/w32/file_dirvol.cxx b/sal/osl/w32/file_dirvol.cxx
index 6f0b18cbda8b..0b8824674d79 100644
--- a/sal/osl/w32/file_dirvol.cxx
+++ b/sal/osl/w32/file_dirvol.cxx
@@ -890,7 +890,7 @@ static oslFileError osl_getNextFileItem(
         rtl_uString_newConcat( &pItemImpl->m_pFullPath, pDirImpl->m_pDirectoryPath, pTmpFileName );
         rtl_uString_release( pTmpFileName );
 
-        pItemImpl->bFullPathNormalized = false;
+        pItemImpl->bFullPathNormalized = true;
         *pItem = static_cast<oslDirectoryItem>(pItemImpl);
         return osl_File_E_None;
     }


More information about the Libreoffice-commits mailing list