diff options
Diffstat (limited to 'extensions/source/update/check/updatecheckconfig.cxx')
-rw-r--r-- | extensions/source/update/check/updatecheckconfig.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx index 5befb380f243..81d94c0c1f63 100644 --- a/extensions/source/update/check/updatecheckconfig.cxx +++ b/extensions/source/update/check/updatecheckconfig.cxx @@ -169,7 +169,7 @@ OUString UpdateCheckConfig::getDownloadsDirectory() if (SHGetKnownFolderPath(FOLDERID_Downloads, 0, nullptr, &szPath) == S_OK) { - aRet = OUString( reinterpret_cast< sal_Unicode * >(szPath) ); + aRet = SAL_U(szPath); CoTaskMemFree(szPath); osl::FileBase::getFileURLFromSystemPath( aRet, aRet ); } @@ -197,7 +197,7 @@ OUString UpdateCheckConfig::getAllUsersDirectory() if (TRUE == SHGetSpecialFolderPathW(nullptr, szPath, CSIDL_COMMON_DOCUMENTS, true)) { - aRet = OUString( reinterpret_cast< sal_Unicode * >(szPath) ); + aRet = SAL_U(szPath); osl::FileBase::getFileURLFromSystemPath( aRet, aRet ); } #else |