diff options
author | Noel Grandin <noel@peralex.com> | 2021-04-15 10:05:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-16 08:59:40 +0200 |
commit | e36c2b46981f87a4d01a8552d4440a42a6770429 (patch) | |
tree | a5770dceab6f5928ad26ab0bf0fc808e0b0cb3d6 /sal | |
parent | 01521db61eb41447113c4bb671ac828a583c0cd1 (diff) |
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@collabora.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/file_dirvol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |