Kaydet (Commit) e8714322 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:nullptr (clang-cl)

Change-Id: Ie9c95a26200223aa392100125690359e72abd1a9
Reviewed-on: https://gerrit.libreoffice.org/60326
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst d5a2202f
......@@ -125,7 +125,7 @@ OUString lcl_getURLFromShellItem (IShellItem* pItem)
hr = IIDFromString(aStr.c_str(), &known_folder_id);
if (SUCCEEDED(hr))
{
hr = SHGetKnownFolderPath(known_folder_id, 0, NULL, &pStr);
hr = SHGetKnownFolderPath(known_folder_id, 0, nullptr, &pStr);
if (SUCCEEDED(hr))
{
::osl::FileBase::getFileURLFromSystemPath(o3tl::toU(pStr), sURL);
......@@ -135,7 +135,7 @@ OUString lcl_getURLFromShellItem (IShellItem* pItem)
}
// Default fallback
hr = SHGetKnownFolderPath(FOLDERID_Documents, 0, NULL, &pStr);
hr = SHGetKnownFolderPath(FOLDERID_Documents, 0, nullptr, &pStr);
if (SUCCEEDED(hr))
::osl::FileBase::getFileURLFromSystemPath(o3tl::toU(pStr), sURL);
else // shouldn't happen...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment