diff options
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/unx/file_misc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/file_misc.cxx b/sal/osl/unx/file_misc.cxx index c411b78cc260..01842dc73154 100644 --- a/sal/osl/unx/file_misc.cxx +++ b/sal/osl/unx/file_misc.cxx @@ -330,9 +330,9 @@ oslFileError SAL_CALL osl_getNextDirectoryItem(oslDirectory pDirectory, pImpl = nullptr; } #ifdef _DIRENT_HAVE_D_TYPE - pImpl = new DirectoryItem_Impl(std::move(strFilePath), pEntry->d_type); + pImpl = new DirectoryItem_Impl(strFilePath, pEntry->d_type); #else - pImpl = new DirectoryItem_Impl(std::move(strFilePath)); + pImpl = new DirectoryItem_Impl(strFilePath); #endif /* _DIRENT_HAVE_D_TYPE */ *pItem = pImpl; |