diff options
Diffstat (limited to 'fpicker/source/win32')
-rw-r--r-- | fpicker/source/win32/VistaFilePickerImpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/win32/VistaFilePickerImpl.cxx b/fpicker/source/win32/VistaFilePickerImpl.cxx index 533c8b0242b7..d4a9915a5dd5 100644 --- a/fpicker/source/win32/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/VistaFilePickerImpl.cxx @@ -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... |